From cc6cf8d7cea673ac5aa1b952c3e384bbabe83b04 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Mon, 10 Apr 2017 18:06:36 +0200 Subject: [PATCH] address grumble --- rpc/src/v1/helpers/light_fetch.rs | 4 ++-- rpc/src/v1/impls/parity.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rpc/src/v1/helpers/light_fetch.rs b/rpc/src/v1/helpers/light_fetch.rs index e2ce6880f..bcd97d2c5 100644 --- a/rpc/src/v1/helpers/light_fetch.rs +++ b/rpc/src/v1/helpers/light_fetch.rs @@ -36,7 +36,7 @@ use light::on_demand::{OnDemand, request}; use ethsync::LightSync; use util::{Address, Mutex, Uint, U256}; -use v1::helpers::{CallRequest as CRequest, errors, dispatch}; +use v1::helpers::{CallRequest as CallRequestHelper, errors, dispatch}; use v1::types::{BlockNumber, CallRequest}; /// Helper for fetching blockchain data either from the light client or the network @@ -130,7 +130,7 @@ impl LightFetch { const DEFAULT_GAS_PRICE: U256 = U256([0, 0, 0, 21_000_000]); let (sync, on_demand, client) = (self.sync.clone(), self.on_demand.clone(), self.client.clone()); - let req: CRequest = req.into(); + let req: CallRequestHelper = req.into(); let id = num.0.into(); let from = req.from.unwrap_or(Address::zero()); diff --git a/rpc/src/v1/impls/parity.rs b/rpc/src/v1/impls/parity.rs index 641cab39d..78592a91c 100644 --- a/rpc/src/v1/impls/parity.rs +++ b/rpc/src/v1/impls/parity.rs @@ -427,6 +427,7 @@ impl Parity for ParityClient where }, extra_info: client.block_extra_info(id).expect(EXTRA_INFO_PROOF), })).boxed() + } fn ipfs_cid(&self, content: Bytes) -> Result { ipfs::cid(content)