From 747beffe705675099a0ddb26e6fc65cdce88bbe3 Mon Sep 17 00:00:00 2001 From: Pierre Krieger <pierre.krieger1708@gmail.com> Date: Mon, 3 May 2021 19:18:35 +0200 Subject: [PATCH] Fix too generous error detection in behaviour.rs (#8717) --- substrate/client/network/src/protocol/notifications/behaviour.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/substrate/client/network/src/protocol/notifications/behaviour.rs b/substrate/client/network/src/protocol/notifications/behaviour.rs index e1ed61722c5..d5112a9f981 100644 --- a/substrate/client/network/src/protocol/notifications/behaviour.rs +++ b/substrate/client/network/src/protocol/notifications/behaviour.rs @@ -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, .. }) => { -- GitLab