Fix warnings: unused
This commit is contained in:
@@ -44,7 +44,7 @@ impl ethcore::engines::EngineSigner for EngineSigner {
|
||||
.sign(self.address, Some(self.password.clone()), message)
|
||||
{
|
||||
Ok(ok) => Ok(ok),
|
||||
Err(e) => Err(ethkey::Error::InvalidSecret),
|
||||
Err(_e) => Err(ethkey::Error::InvalidSecret),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ use serde::{
|
||||
use std::fmt;
|
||||
|
||||
use ethereum_types::H256;
|
||||
use ethstore;
|
||||
|
||||
/// Type of derivation
|
||||
pub enum DerivationType {
|
||||
@@ -32,6 +31,7 @@ pub enum DerivationType {
|
||||
}
|
||||
|
||||
/// Derivation request by hash
|
||||
#[allow(dead_code)]
|
||||
#[derive(Deserialize)]
|
||||
pub struct DeriveHash {
|
||||
hash: H256,
|
||||
@@ -40,6 +40,7 @@ pub struct DeriveHash {
|
||||
}
|
||||
|
||||
/// Node propertoes in hierarchical derivation request
|
||||
#[allow(dead_code)]
|
||||
#[derive(Deserialize)]
|
||||
pub struct DeriveHierarchicalItem {
|
||||
index: u64,
|
||||
|
||||
Reference in New Issue
Block a user