From d424194bbf6ecaa2219dbc643e5d032925afa46e Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Mon, 16 May 2016 22:32:18 +0300 Subject: [PATCH] test spec explicitly --- sync/src/tests/helpers.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sync/src/tests/helpers.rs b/sync/src/tests/helpers.rs index 76f8b220e..0629863dd 100644 --- a/sync/src/tests/helpers.rs +++ b/sync/src/tests/helpers.rs @@ -16,6 +16,7 @@ use util::*; use ethcore::client::{TestBlockChainClient, BlockChainClient}; +use ethcore::spec::Spec; use io::SyncIo; use chain::ChainSync; use ethminer::Miner; @@ -93,7 +94,7 @@ impl TestNet { for _ in 0..n { net.peers.push(TestPeer { chain: TestBlockChainClient::new(), - sync: ChainSync::new(SyncConfig::default(), Arc::new(Miner::default())), + sync: ChainSync::new(SyncConfig::default(), Miner::new(false, Spec::new_test())), queue: VecDeque::new(), }); }