Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
ef761e8e
Unverified
Commit
ef761e8e
authored
Feb 02, 2021
by
Bastian Köcher
Committed by
GitHub
Feb 02, 2021
Browse files
Remove from `known_collators` on disconnect (#2364)
parent
e5bacac0
Pipeline
#122747
passed with stages
in 28 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/network/collator-protocol/src/validator_side.rs
View file @
ef761e8e
...
...
@@ -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
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment