Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix wrong logic. #5931

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/network/collator-protocol/src/validator_side/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down