mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 17:11:02 +00:00
@@ -457,7 +457,7 @@ impl<T: Config> Module<T> {
|
|||||||
// send more, heavier messages.
|
// send more, heavier messages.
|
||||||
|
|
||||||
let mut shuffle_index = 0;
|
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 index = shuffled[shuffle_index];
|
||||||
let sender = status[index].0;
|
let sender = status[index].0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user