diff --git a/rpc/src/v1/impls/ethcore.rs b/rpc/src/v1/impls/ethcore.rs index 33123ddd5..b430a710c 100644 --- a/rpc/src/v1/impls/ethcore.rs +++ b/rpc/src/v1/impls/ethcore.rs @@ -36,7 +36,6 @@ use v1::traits::Ethcore; use v1::types::{Bytes, U256, H160, H256, H512, Peers, Transaction, RpcSettings}; use v1::helpers::{errors, SigningQueue, SignerService, NetworkSettings}; use v1::helpers::dispatch::DEFAULT_MAC; -use v1::helpers::params::expect_no_params; use v1::helpers::auto_args::Ready; /// Ethcore implementation. diff --git a/signer/src/ws_server/session.rs b/signer/src/ws_server/session.rs index 1e3a9a7d2..14c619a28 100644 --- a/signer/src/ws_server/session.rs +++ b/signer/src/ws_server/session.rs @@ -47,7 +47,7 @@ mod signer { #[cfg(not(feature = "ui"))] mod signer { pub struct File { - pub content: &'static str, + pub content: &'static [u8], pub content_type: &'static str, }