diff --git a/xcm/xcm-builder/src/barriers.rs b/xcm/xcm-builder/src/barriers.rs index 3dd1d833943f..5e58e9cd22f1 100644 --- a/xcm/xcm-builder/src/barriers.rs +++ b/xcm/xcm-builder/src/barriers.rs @@ -252,7 +252,9 @@ impl> ShouldExecute for AllowExplicitUnpaidExecutionF UnpaidExecution { weight_limit: Limited(m), check_origin } if m.all_gte(max_weight) && check_origin.map_or(true, |o| T::contains(&o)) => Ok(()), - UnpaidExecution { weight_limit: Unlimited, .. } => Ok(()), + UnpaidExecution { weight_limit: Unlimited, check_origin } + if check_origin.map_or(true, |o| T::contains(&o)) => + Ok(()), _ => Err(()), } }