V2.5.6 stable (#10961)
- Fix cargo audit (#10921) - Add support for Energy Web Foundation's new chains (#10957) - Kaspersky AV whitelisting (#10919) - Avast whitelist script (#10900) - Docker images renaming (#10863) - Remove excessive warning (#10831) - Allow --nat extip:your.host.here.org (#10830) - When updating the client or when called from RPC, sleep should mean sleep (#10814) - added new ropsten-bootnode and removed old one (#10794) - ethkey no longer uses byteorder (#10786) - Do not drop the peer with None difficulty (#10772) - docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Parity RPC.
|
||||
//! Parity Ethereum JSON-RPC Servers (WS, HTTP, IPC).
|
||||
|
||||
#![warn(missing_docs, unused_extern_crates)]
|
||||
#![cfg_attr(feature = "cargo-clippy", warn(clippy::all, clippy::pedantic))]
|
||||
|
||||
@@ -37,10 +37,7 @@ impl ethcore::engines::EngineSigner for EngineSigner {
|
||||
fn sign(&self, message: ethkey::Message) -> Result<ethkey::Signature, ethkey::Error> {
|
||||
match self.accounts.sign(self.address, Some(self.password.clone()), message) {
|
||||
Ok(ok) => Ok(ok),
|
||||
Err(e) => {
|
||||
warn!("Unable to sign consensus message: {:?}", e);
|
||||
Err(ethkey::Error::InvalidSecret)
|
||||
},
|
||||
Err(e) => Err(ethkey::Error::InvalidSecret),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user