Skip to content
Snippets Groups Projects
Commit 16b250d7 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Remove from `known_collators` on disconnect (#2364)

parent 280d6676
Branches
No related merge requests found
......@@ -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) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment