mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 19:11:02 +00:00
Confirm delivery detects when more than expected messages are confirmed (#1039)
* confirm delivery detects when more than expected messages are confirmed * fix benchmarks compilation
This commit is contained in:
committed by
Bastian Köcher
parent
dfdd541bc9
commit
2e50bf8fb1
@@ -904,7 +904,7 @@ fn confirm_message_delivery<T: Config<I>, I: Instance>(nonce: MessageNonce) {
|
||||
});
|
||||
}
|
||||
assert!(matches!(
|
||||
outbound_lane.confirm_delivery(nonce, &relayers),
|
||||
outbound_lane.confirm_delivery(nonce - latest_received_nonce, nonce, &relayers),
|
||||
ReceivalConfirmationResult::ConfirmedMessages(_),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user