mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 04:11:09 +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)) {
|
match self.peers.get_mut(&(source.clone(), set_id)) {
|
||||||
// Move the connection from `Closing` to `Closed`.
|
// Move the connection from `Closing` to `Closed`.
|
||||||
|
Some(PeerState::Incoming { connections, .. }) |
|
||||||
Some(PeerState::DisabledPendingEnable { connections, .. }) |
|
Some(PeerState::DisabledPendingEnable { connections, .. }) |
|
||||||
Some(PeerState::Disabled { connections, .. }) |
|
Some(PeerState::Disabled { connections, .. }) |
|
||||||
Some(PeerState::Enabled { connections, .. }) => {
|
Some(PeerState::Enabled { connections, .. }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user