diff --git a/xcm/xcm-builder/src/barriers.rs b/xcm/xcm-builder/src/barriers.rs index bdc7f6811edd..3ac275b63e26 100644 --- a/xcm/xcm-builder/src/barriers.rs +++ b/xcm/xcm-builder/src/barriers.rs @@ -94,7 +94,7 @@ impl> ShouldExecute for AllowTopLevelPaidExecutionFro BuyExecution { weight_limit: Limited(ref mut weight), .. } if weight.all_gte(max_weight) => { - *weight = weight.max(max_weight); + *weight = max_weight; Ok(()) }, BuyExecution { ref mut weight_limit, .. } if weight_limit == &Unlimited => {