Fixing compilation without default features (#2638)

* Fixing compilation without default features

* Removing unused import
This commit is contained in:
Tomasz Drwięga 2016-10-16 00:20:11 +02:00 committed by Gav Wood
parent cceca916a1
commit 709f00ceb7
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ use v1::traits::Ethcore;
use v1::types::{Bytes, U256, H160, H256, H512, Peers, Transaction, RpcSettings}; use v1::types::{Bytes, U256, H160, H256, H512, Peers, Transaction, RpcSettings};
use v1::helpers::{errors, SigningQueue, SignerService, NetworkSettings}; use v1::helpers::{errors, SigningQueue, SignerService, NetworkSettings};
use v1::helpers::dispatch::DEFAULT_MAC; use v1::helpers::dispatch::DEFAULT_MAC;
use v1::helpers::params::expect_no_params;
use v1::helpers::auto_args::Ready; use v1::helpers::auto_args::Ready;
/// Ethcore implementation. /// Ethcore implementation.

View File

@ -47,7 +47,7 @@ mod signer {
#[cfg(not(feature = "ui"))] #[cfg(not(feature = "ui"))]
mod signer { mod signer {
pub struct File { pub struct File {
pub content: &'static str, pub content: &'static [u8],
pub content_type: &'static str, pub content_type: &'static str,
} }