Skip to content
Snippets Groups Projects
Commit 979483fd authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

Fix wrong logic. (#5931)

parent 83217b3e
No related merge requests found
......@@ -730,7 +730,7 @@ async fn handle_peer_view_change(state: &mut State, peer_id: PeerId, view: View)
peer_data.update_view(view);
state
.requested_collations
.retain(|pc, _| pc.peer_id != peer_id || !peer_data.has_advertised(&pc.relay_parent));
.retain(|pc, _| pc.peer_id != peer_id || peer_data.has_advertised(&pc.relay_parent));
Ok(())
}
......
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