Remove excessive warning (#10831)
This commit is contained in:
parent
5b30f22011
commit
5f064a9076
@ -37,10 +37,7 @@ impl ethcore::engines::EngineSigner for EngineSigner {
|
|||||||
fn sign(&self, message: ethkey::Message) -> Result<ethkey::Signature, ethkey::Error> {
|
fn sign(&self, message: ethkey::Message) -> Result<ethkey::Signature, ethkey::Error> {
|
||||||
match self.accounts.sign(self.address, Some(self.password.clone()), message) {
|
match self.accounts.sign(self.address, Some(self.password.clone()), message) {
|
||||||
Ok(ok) => Ok(ok),
|
Ok(ok) => Ok(ok),
|
||||||
Err(e) => {
|
Err(e) => Err(ethkey::Error::InvalidSecret),
|
||||||
warn!("Unable to sign consensus message: {:?}", e);
|
|
||||||
Err(ethkey::Error::InvalidSecret)
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user