Unverified Commit 238016df authored by Cecile Tonglet's avatar Cecile Tonglet Committed by GitHub
Browse files

Companion PR for https://github.com/paritytech/substrate/pull/5236 (#955)

* Adapt code to API changes

* Update sp-io
parent 0a1c99f2
Pipeline #85565 passed with stages
in 28 minutes and 59 seconds
This diff is collapsed.
......@@ -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,
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment