Remove excessive warning (#10831)

This commit is contained in:
Anton Gavrilov 2019-07-02 17:52:05 +02:00 committed by David
parent 5b30f22011
commit 5f064a9076

View File

@ -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),
}
}