From 9b0ef06cf8badc7e35fb588a2b76c368baebf8b6 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Wed, 11 Apr 2018 19:25:41 +0200 Subject: [PATCH] Fixed block proagation after import and import notifications (#119) * Fixed block proagation after import and import notifications * Removed cargo check --- polkadot/service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index 20bbe3530a..da5a59c5aa 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -234,7 +234,7 @@ impl Service { thread_network.start_network(); let mut core = Core::new().expect("tokio::Core could not be created"); let events = thread_client.import_notification_stream().for_each(|notification| { - thread_network.on_block_imported(¬ification.header); + thread_network.on_block_imported(notification.hash, ¬ification.header); Ok(()) }); if let Err(e) = core.run(events) {