Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
use ethereum types
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Apr 1, 2019
1 parent 16a3aba commit fb2a504
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion rpc/src/v1/helpers/light_fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use types::filter::Filter as EthcoreFilter;
use types::ids::BlockId;
use types::receipt::Receipt;
use ethcore::executed::ExecutionError;
use ethcore::verification::QueueInfo as BlockQueueInfo;

use jsonrpc_core::{Result, Error};
use jsonrpc_core::futures::{future, Future};
Expand Down
4 changes: 2 additions & 2 deletions rpc/src/v1/impls/eth_pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use v1::helpers::{errors, limit_logs, Subscribers, };
use v1::helpers::light_fetch::LightFetch;
use v1::metadata::Metadata;
use v1::traits::EthPubSub;
use v1::types::{pubsub, RichHeader, Log, U64};
use v1::types::{pubsub, RichHeader, Log};

use sync::{SyncState, Notification};
use ethcore::client::{BlockChainClient, ChainNotify, NewBlocks, ChainRouteType, BlockId};
Expand All @@ -39,7 +39,7 @@ use light::on_demand::OnDemandRequester;
use parity_runtime::Executor;
use parking_lot::{RwLock, Mutex};

use sync::{LightSyncProvider, LightNetworkDispatcher, ManageNetwork, SyncProvider, LightSyncInfo};
use sync::{LightSyncProvider, LightNetworkDispatcher, ManageNetwork};

use types::encoded;
use types::filter::Filter as EthFilter;
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/v1/types/pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use ethereum_types::H256;
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use serde::de::Error;
use serde_json::{Value, from_value};
use v1::types::{RichHeader, Filter, Log, H256, U64};
use v1::types::{RichHeader, Filter, Log};

/// Subscription result.
#[derive(Debug, Clone, PartialEq, Eq)]
Expand Down

0 comments on commit fb2a504

Please sign in to comment.