This commit is contained in:
Keith Yeung committed 2022-09-22 23:16:22 +08:00
1 parent 1dba83a903
commit e02878e87a
4 files changed
+11 -6

No files matched your search

+2 -1
View File
@@ -240,7 +240,8 @@ pub mod pallet {
Ok(Weight::zero())
},
Ok(Ok(x)) => {
let outcome = T::XcmExecutor::execute_xcm(Parent, x, message_id, limit.ref_time());
let outcome =
T::XcmExecutor::execute_xcm(Parent, x, message_id, limit.ref_time());
match outcome {
Outcome::Error(XcmError::WeightLimitReached(required)) =>
Err((message_id, Weight::from_ref_time(required))),