Skip to content

Commit

Permalink
Update comment (paritytech#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest authored and serban300 committed Apr 9, 2024
1 parent 95cc64a commit 55cd945
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bridges/modules/messages/src/outbound_lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ fn ensure_unrewarded_relayers_are_correct<RelayerId>(
// entry can't confirm messages larger than `inbound_lane_data.latest_received_nonce()`
// (guaranteed by the `InboundLane::receive_message()`)
if entry.messages.end > latest_received_nonce {
// technically this will be detected in the next loop iteration as
// `InvalidNumberOfDispatchResults` but to guarantee safety of loop operations below
// this is detected now
return Err(ReceivalConfirmationResult::FailedToConfirmFutureMessages)
}
}
Expand Down

0 comments on commit 55cd945

Please sign in to comment.