From 55cd945ed452ce4b927a73ba559293f04fa4a486 Mon Sep 17 00:00:00 2001 From: bear Date: Thu, 27 Apr 2023 19:07:31 +0800 Subject: [PATCH] Update comment (#2081) --- bridges/modules/messages/src/outbound_lane.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/bridges/modules/messages/src/outbound_lane.rs b/bridges/modules/messages/src/outbound_lane.rs index 33a58a40400bf..3d0d4de966a59 100644 --- a/bridges/modules/messages/src/outbound_lane.rs +++ b/bridges/modules/messages/src/outbound_lane.rs @@ -196,9 +196,6 @@ fn ensure_unrewarded_relayers_are_correct( // 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) } }