mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Fix bad debug_assert (#7904)
This commit is contained in:
@@ -914,11 +914,11 @@ impl GenericProto {
|
||||
error!(target: "sub-libp2p", "PSM => Drop({}, {:?}): Not enabled (Incoming).",
|
||||
entry.key().0, set_id);
|
||||
*entry.into_mut() = st;
|
||||
debug_assert!(!false);
|
||||
debug_assert!(false);
|
||||
},
|
||||
PeerState::Poisoned => {
|
||||
error!(target: "sub-libp2p", "State of {:?} is poisoned", entry.key());
|
||||
debug_assert!(!false);
|
||||
debug_assert!(false);
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user