mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Send block status with announcement (#3607)
* Send block status with announcement * Fixed tests * Whitespace Co-Authored-By: Gavin Wood <gavin@parity.io> * Additional comment * Update comment Co-Authored-By: André Silva <andre.beat@gmail.com>
This commit is contained in:
committed by
Bastian Köcher
parent
6679c8b051
commit
84d0c790f3
@@ -682,7 +682,7 @@ fn build_network_future<
|
||||
|
||||
// We poll `imported_blocks_stream`.
|
||||
while let Ok(Async::Ready(Some(notification))) = imported_blocks_stream.poll() {
|
||||
network.on_block_imported(notification.hash, notification.header);
|
||||
network.on_block_imported(notification.hash, notification.header, notification.is_new_best);
|
||||
}
|
||||
|
||||
// We poll `finality_notification_stream`, but we only take the last event.
|
||||
|
||||
Reference in New Issue
Block a user