mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
1 parent
8fda50ee6f
commit
cdf8fd94d3
1 file changed
+1
-1
@@ -457,7 +457,7 @@ impl<T: Config> Module<T> {
|
||||
// send more, heavier messages.
|
||||
|
||||
let mut shuffle_index = 0;
|
||||
while shuffle_index < shuffled.len() && max_weight.saturating_sub(weight_used) < threshold_weight {
|
||||
while shuffle_index < shuffled.len() && max_weight.saturating_sub(weight_used) >= threshold_weight {
|
||||
let index = shuffled[shuffle_index];
|
||||
let sender = status[index].0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user