diff --git a/cumulus/pallets/xcmp-queue/src/lib.rs b/cumulus/pallets/xcmp-queue/src/lib.rs index 13b05cde77..82b58e79ed 100644 --- a/cumulus/pallets/xcmp-queue/src/lib.rs +++ b/cumulus/pallets/xcmp-queue/src/lib.rs @@ -457,7 +457,7 @@ impl Module { // 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;