Remove compiler warning (#10865)

This commit is contained in:
Anton Gavrilov 2019-07-08 18:04:18 +02:00 committed by David
parent 88e0cfe5ca
commit d5c19bae1c

View File

@ -37,7 +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(ethkey::Error::InvalidSecret), Err(_) => Err(ethkey::Error::InvalidSecret),
} }
} }