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(), }); }