diff --git a/substrate/core/network/src/protocol/sync.rs b/substrate/core/network/src/protocol/sync.rs index cf7d899d6d..59ad48b225 100644 --- a/substrate/core/network/src/protocol/sync.rs +++ b/substrate/core/network/src/protocol/sync.rs @@ -667,7 +667,7 @@ impl ChainSync { peer.state = PeerSyncState::Available; // We only request one justification at a time - debug_assert_eq!(1, response.blocks.len()); + debug_assert!(response.blocks.len() < 2); if let Some(block) = response.blocks.into_iter().next() { if hash != block.hash {