More timely block import notifications (#306)

* More timely block import notifications

* Grumbles.

* More wrapping

* Fix build

* Fixes
This commit is contained in:
Gav Wood
2018-07-13 12:13:03 +02:00
committed by GitHub
parent 88c40c8fb4
commit 0929e45320
-1
View File
@@ -63,7 +63,6 @@ pub fn start<C>(service: &Service<C>, exit: ::exit_future::Exit, handle: TaskExe
let client = service.client();
let display_block_import = client.import_notification_stream().for_each(|n| {
info!(target: "polkadot", "Imported #{} ({})", n.header.number, n.hash);
telemetry!("block.import"; "height" => n.header.number, "best" => ?n.hash);
Ok(())
});