Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofdeepanshu committed Oct 11, 2023
1 parent 39da463 commit e0d5ffd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions precompiles/xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ where
.collect::<Vec<MultiAsset>>();

log::trace!(target: "xcm-precompile:assets_withdraw", "Processed arguments: assets {:?}, destination: {:?}", assets, destination);

// Build call with origin.
let origin = Some(Runtime::AddressMapping::into_account_id(
handle.context().caller,
Expand Down Expand Up @@ -401,7 +401,6 @@ where
.collect::<Result<Vec<u128>, _>>()
.map_err(|_| revert("error converting amounts, maybe value too large"))?;


// Check that assets list is valid:
// * all assets resolved to multi-location
// * all assets has corresponded amount
Expand Down Expand Up @@ -456,7 +455,7 @@ where
.map(Into::into)
.collect::<Vec<MultiAsset>>();

log::trace!(target: "xcm-precompile:assets_reserve_transfer", "Processed arguments: assets {:?}, destination: {:?}", assets, destination);
log::trace!(target: "xcm-precompile:assets_reserve_transfer", "Processed arguments: assets {:?}, destination: {:?}", assets, destination);

// Build call with origin.
let origin = Some(Runtime::AddressMapping::into_account_id(
Expand Down

0 comments on commit e0d5ffd

Please sign in to comment.