From 3dd5a508b4374a92ddbaa42fcbe1c33377b3986f Mon Sep 17 00:00:00 2001 From: Toralf Wittner Date: Wed, 25 Sep 2019 09:35:45 +0200 Subject: [PATCH] Remove `debug_assert!`ion. (#3678) --- substrate/core/network/src/protocol/sync.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/substrate/core/network/src/protocol/sync.rs b/substrate/core/network/src/protocol/sync.rs index 59ad48b225..6a2a207abc 100644 --- a/substrate/core/network/src/protocol/sync.rs +++ b/substrate/core/network/src/protocol/sync.rs @@ -667,8 +667,6 @@ impl ChainSync { peer.state = PeerSyncState::Available; // We only request one justification at a time - debug_assert!(response.blocks.len() < 2); - if let Some(block) = response.blocks.into_iter().next() { if hash != block.hash { info!(