Skip to content

Commit 75fbb9d

Browse files
Update comment (#2081)
1 parent 9904d09 commit 75fbb9d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/messages/src/outbound_lane.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,6 @@ fn ensure_unrewarded_relayers_are_correct<RelayerId>(
196196
// entry can't confirm messages larger than `inbound_lane_data.latest_received_nonce()`
197197
// (guaranteed by the `InboundLane::receive_message()`)
198198
if entry.messages.end > latest_received_nonce {
199-
// technically this will be detected in the next loop iteration as
200-
// `InvalidNumberOfDispatchResults` but to guarantee safety of loop operations below
201-
// this is detected now
202199
return Err(ReceivalConfirmationResult::FailedToConfirmFutureMessages)
203200
}
204201
}

0 commit comments

Comments
 (0)