Skip to content

Commit

Permalink
Update polkadot/node/network/collator-protocol/src/validator_side/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alin Dima <[email protected]>
  • Loading branch information
tdimitrov and alindima authored Nov 15, 2024
1 parent eb0ca12 commit 00fafd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl PeerData {
let candidates = state.advertisements.entry(on_relay_parent).or_default();

// Current assignments is equal to the length of the claim queue. No honest
// collator should send that much advertisements.
// collator should send that many advertisements.
if candidates.len() > per_relay_parent.assignment.current.len() {
return Err(InsertAdvertisementError::PeerLimitReached)
}
Expand Down

0 comments on commit 00fafd4

Please sign in to comment.