mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Fix too generous error detection in behaviour.rs (#8717)
This commit is contained in:
@@ -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, .. }) => {
|
||||
|
||||
Reference in New Issue
Block a user