mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Companion PR for https://github.com/paritytech/substrate/pull/5236 (#955)
* Adapt code to API changes * Update sp-io
This commit is contained in:
@@ -248,7 +248,7 @@ impl<D> Peer<D> {
|
||||
Default::default()
|
||||
};
|
||||
self.block_import.import_block(import_block, cache).expect("block_import failed");
|
||||
self.network.on_block_imported(header, Vec::new(), true);
|
||||
self.network.on_block_imported(header, true);
|
||||
at = hash;
|
||||
}
|
||||
|
||||
@@ -760,7 +760,6 @@ pub trait TestNetFactory: Sized {
|
||||
while let Poll::Ready(Some(notification)) = peer.imported_blocks_stream.as_mut().poll_next(cx) {
|
||||
peer.network.on_block_imported(
|
||||
notification.header,
|
||||
Vec::new(),
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user