mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 20:07:56 +00:00
Same procedure as not every day (#636)
* Same procedure as not every day * Remove warning * Update
This commit is contained in:
@@ -240,7 +240,7 @@ pub mod pallet {
|
||||
Ok(0)
|
||||
},
|
||||
Ok(Ok(x)) => {
|
||||
let outcome = T::XcmExecutor::execute_xcm(Parent.into(), x, limit);
|
||||
let outcome = T::XcmExecutor::execute_xcm(Parent, x, limit);
|
||||
match outcome {
|
||||
Outcome::Error(XcmError::WeightLimitReached(required)) =>
|
||||
Err((id, required)),
|
||||
@@ -420,7 +420,7 @@ mod tests {
|
||||
pub struct MockExec;
|
||||
impl ExecuteXcm<Call> for MockExec {
|
||||
fn execute_xcm_in_credit(
|
||||
_origin: MultiLocation,
|
||||
_origin: impl Into<MultiLocation>,
|
||||
message: Xcm,
|
||||
weight_limit: Weight,
|
||||
_credit: Weight,
|
||||
|
||||
Reference in New Issue
Block a user