mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-01 23:07:05 +00:00
relayers pallet - small changes (#1547)
Signed-off-by: Serban Iorga <serban@parity.io> Signed-off-by: Serban Iorga <serban@parity.io>
This commit is contained in:
1 parent
e0b42dfae7
commit
5cc874e7b8
4 files changed
+52
-41
No files matched your search
@@ -947,7 +947,7 @@ where
|
||||
// loop won't proceed if current entry is ahead of received range (begin > end).
|
||||
// this loop is bound by `T::MaxUnconfirmedMessagesAtInboundLane` on the bridged chain
|
||||
let mut relayer_reward = relayers_rewards.entry(entry.relayer).or_default();
|
||||
for nonce in nonce_begin..nonce_end + 1 {
|
||||
for nonce in nonce_begin..=nonce_end {
|
||||
let key = MessageKey { lane_id, nonce };
|
||||
let message_data = OutboundMessages::<T, I>::get(key)
|
||||
.expect("message was just confirmed; we never prune unconfirmed messages; qed");
|
||||
|
||||
Reference in new issue
Block a user