mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
Remove from known_collators on disconnect (#2364)
This commit is contained in:
@@ -656,6 +656,7 @@ where
|
||||
// want to track it's view or take any other actions.
|
||||
},
|
||||
PeerDisconnected(peer_id) => {
|
||||
state.known_collators.remove(&peer_id);
|
||||
state.peer_views.remove(&peer_id);
|
||||
},
|
||||
PeerViewChange(peer_id, view) => {
|
||||
|
||||
Reference in New Issue
Block a user