From 709f00ceb7566a81f3ad9fa6abc96eb995677e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Sun, 16 Oct 2016 00:20:11 +0200 Subject: [PATCH] Fixing compilation without default features (#2638) * Fixing compilation without default features * Removing unused import --- rpc/src/v1/impls/ethcore.rs | 1 - signer/src/ws_server/session.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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, }