Fix naming

This commit is contained in:
Keith Yeung
2022-08-14 09:50:01 +08:00
parent 9c6296ca95
commit 667273a7be
+1 -1
View File
@@ -239,7 +239,7 @@ pub mod pallet {
Ok(0) Ok(0)
}, },
Ok(Ok(x)) => { Ok(Ok(x)) => {
let outcome = T::XcmExecutor::execute_xcm(Parent, x, id, limit); let outcome = T::XcmExecutor::execute_xcm(Parent, x, message_id, limit);
match outcome { match outcome {
Outcome::Error(XcmError::WeightLimitReached(required)) => Outcome::Error(XcmError::WeightLimitReached(required)) =>
Err((message_id, required)), Err((message_id, required)),