Unverified Commit ef761e8e authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Remove from `known_collators` on disconnect (#2364)

parent e5bacac0
Pipeline #122747 passed with stages
in 28 minutes and 34 seconds
......@@ -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) => {
......
Supports Markdown
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