mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
More timely block import notifications (#306)
* More timely block import notifications * Grumbles. * More wrapping * Fix build * Fixes
This commit is contained in:
@@ -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(())
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user