mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-16 15:47:07 +00:00
Update comment (#2081)
This commit is contained in:
1 parent
1f738f1389
commit
b495f8b28d
1 file changed
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user