Skip to content

Commit

Permalink
Remove outdated assertion on failed bootstrap connection
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-casperlabs committed Mar 1, 2021
1 parent cb1d20a commit 0dd0fdd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions node/src/components/small_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -869,11 +869,6 @@ where
} => {
warn!(our_id=%self.our_id, %peer_address, %error, "connection to known node failed");

let was_removed = self.pending.remove(&peer_address);
assert!(
was_removed,
"Bootstrap failed for node, but it was not in the set of pending connections"
);
self.terminate_if_isolated(effect_builder)
}
Event::IncomingNew {
Expand Down

0 comments on commit 0dd0fdd

Please sign in to comment.