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 Apr 27, 2023
1 parent 6923020 commit 6d65490
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 6d65490

Please sign in to comment.