mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 02:11:01 +00:00
weights v1.5: iteration 2 (#1613)
This commit is contained in:
committed by
Bastian Köcher
parent
829b23c7cf
commit
e97bb57564
@@ -295,7 +295,7 @@ impl<P: MessageLane, Strategy: RelayStrategy, SC, TC> MessageDeliveryStrategy<P,
|
||||
.source_queue()
|
||||
.iter()
|
||||
.flat_map(|(_, range)| range.values().map(|details| details.dispatch_weight))
|
||||
.fold(Weight::from_ref_time(0), |total, weight| total.saturating_add(weight))
|
||||
.fold(Weight::zero(), |total, weight| total.saturating_add(weight))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user