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

Commit 157a123

Browse files
authored
Fix wrong logic. (#5931)
1 parent e75f891 commit 157a123

File tree

1 file changed

+1
-1
lines changed
  • node/network/collator-protocol/src/validator_side

1 file changed

+1
-1
lines changed

node/network/collator-protocol/src/validator_side/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ async fn handle_peer_view_change(state: &mut State, peer_id: PeerId, view: View)
730730
peer_data.update_view(view);
731731
state
732732
.requested_collations
733-
.retain(|pc, _| pc.peer_id != peer_id || !peer_data.has_advertised(&pc.relay_parent));
733+
.retain(|pc, _| pc.peer_id != peer_id || peer_data.has_advertised(&pc.relay_parent));
734734

735735
Ok(())
736736
}

0 commit comments

Comments
 (0)