From d5c19bae1c699c035da740c5256f8e3258e49015 Mon Sep 17 00:00:00 2001 From: Anton Gavrilov Date: Mon, 8 Jul 2019 18:04:18 +0200 Subject: [PATCH] Remove compiler warning (#10865) --- rpc/src/v1/helpers/engine_signer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/src/v1/helpers/engine_signer.rs b/rpc/src/v1/helpers/engine_signer.rs index 56cead696..4cc3608cb 100644 --- a/rpc/src/v1/helpers/engine_signer.rs +++ b/rpc/src/v1/helpers/engine_signer.rs @@ -37,7 +37,7 @@ impl ethcore::engines::EngineSigner for EngineSigner { fn sign(&self, message: ethkey::Message) -> Result { match self.accounts.sign(self.address, Some(self.password.clone()), message) { Ok(ok) => Ok(ok), - Err(e) => Err(ethkey::Error::InvalidSecret), + Err(_) => Err(ethkey::Error::InvalidSecret), } }