Fixing sync doctests
This commit is contained in:
parent
dc7c53d59a
commit
4ece68349c
@ -44,12 +44,12 @@
|
|||||||
//! let mut service = NetworkService::new(NetworkConfiguration::new()).unwrap();
|
//! let mut service = NetworkService::new(NetworkConfiguration::new()).unwrap();
|
||||||
//! service.start().unwrap();
|
//! service.start().unwrap();
|
||||||
//! let dir = env::temp_dir();
|
//! 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(
|
//! let client = Client::new(
|
||||||
//! ClientConfig::default(),
|
//! ClientConfig::default(),
|
||||||
//! ethereum::new_frontier(true),
|
//! ethereum::new_frontier(true),
|
||||||
//! &dir,
|
//! &dir,
|
||||||
//! Arc::new(miner),
|
//! miner,
|
||||||
//! service.io().channel()
|
//! service.io().channel()
|
||||||
//! ).unwrap();
|
//! ).unwrap();
|
||||||
//! let sync = EthSync::new(SyncConfig::default(), client);
|
//! let sync = EthSync::new(SyncConfig::default(), client);
|
||||||
|
Loading…
Reference in New Issue
Block a user