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) {