Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang committed Dec 13, 2022
1 parent a08303e commit 3e9cc17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xcm/xcm-builder/src/barriers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ impl<T: Contains<MultiLocation>> 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(()),
}
}
Expand Down

0 comments on commit 3e9cc17

Please sign in to comment.