Fixing sync doctests

This commit is contained in:
Tomasz Drwięga 2016-06-24 12:41:48 +02:00
parent dc7c53d59a
commit 4ece68349c

View File

@ -44,12 +44,12 @@
//! let mut service = NetworkService::new(NetworkConfiguration::new()).unwrap();
//! service.start().unwrap();
//! let dir = env::temp_dir();
//! let miner = Miner::new(false, ethereum::new_frontier(), None);
//! let miner = Miner::new(false, ethereum::new_frontier(true), None);
//! let client = Client::new(
//! ClientConfig::default(),
//! ethereum::new_frontier(true),
//! &dir,
//! Arc::new(miner),
//! miner,
//! service.io().channel()
//! ).unwrap();
//! let sync = EthSync::new(SyncConfig::default(), client);