mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
Remove from known_collators on disconnect (#2364)
This commit is contained in:
1 parent
280d6676d8
commit
16b250d7ea
1 file changed
+1
@@ -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