From c3e8fb58299c8a921b15c79682ec5960c0961172 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sun, 4 Mar 2018 18:05:14 +0100 Subject: [PATCH] Fix RPC tests --- Cargo.lock | 2 +- rpc/Cargo.toml | 2 +- rpc/src/v1/tests/mocked/manage_network.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b0cbec51369..5aed11addb4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2132,7 +2132,7 @@ dependencies = [ "ethcore-light 1.11.0", "ethcore-logger 1.11.0", "ethcore-miner 1.11.0", - "ethcore-network-devp2p 1.11.0", + "ethcore-network 1.11.0", "ethcore-transaction 0.1.0", "ethcrypto 0.1.0", "ethereum-types 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 904dbbdb3b3..c0158658b63 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -68,5 +68,5 @@ vm = { path = "../ethcore/vm" } [dev-dependencies] pretty_assertions = "0.1" macros = { path = "../util/macros" } -ethcore-network-devp2p = { path = "../util/network-devp2p" } +ethcore-network = { path = "../util/network" } kvdb-memorydb = { path = "../util/kvdb-memorydb" } diff --git a/rpc/src/v1/tests/mocked/manage_network.rs b/rpc/src/v1/tests/mocked/manage_network.rs index 0f239084756..9438429cdb6 100644 --- a/rpc/src/v1/tests/mocked/manage_network.rs +++ b/rpc/src/v1/tests/mocked/manage_network.rs @@ -17,7 +17,7 @@ use ethsync::{ManageNetwork, NetworkConfiguration}; use self::ethcore_network::{ProtocolId, NetworkContext}; -extern crate ethcore_network_devp2p; +extern crate ethcore_network; pub struct TestManageNetwork;