Skip to content
Snippets Groups Projects
Commit 747beffe authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Fix too generous error detection in behaviour.rs (#8717)

parent 2675741a
Branches
No related merge requests found
......@@ -1703,6 +1703,7 @@ impl NetworkBehaviour for Notifications {
match self.peers.get_mut(&(source.clone(), set_id)) {
// Move the connection from `Closing` to `Closed`.
Some(PeerState::Incoming { connections, .. }) |
Some(PeerState::DisabledPendingEnable { connections, .. }) |
Some(PeerState::Disabled { connections, .. }) |
Some(PeerState::Enabled { connections, .. }) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment