From 4ece68349c0ab2fbe38da473def5af857191c07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Fri, 24 Jun 2016 12:41:48 +0200 Subject: [PATCH] Fixing sync doctests --- sync/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync/src/lib.rs b/sync/src/lib.rs index def7775d3..3f899c261 100644 --- a/sync/src/lib.rs +++ b/sync/src/lib.rs @@ -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);