Companion for paritytech/substrate#12480 (#1758)

* Companion for paritytech/substrate#12480

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Aaro Altonen
2022-10-13 13:02:39 +03:00
committed by GitHub
parent 5cbb6b4c43
commit 8cb4283032
2 changed files with 332 additions and 252 deletions
@@ -255,7 +255,7 @@ impl<B: BlockT> sc_network_common::sync::ChainSync<B> for DummyChainSync {
fn block_requests(
&mut self,
) -> Box<dyn Iterator<Item = (&PeerId, sc_network_common::sync::message::BlockRequest<B>)> + '_>
) -> Box<dyn Iterator<Item = (PeerId, sc_network_common::sync::message::BlockRequest<B>)> + '_>
{
Box::new(std::iter::empty())
}