Skip to content

Commit

Permalink
Update runtime/basilisk/src/xcm.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Roznovjak <[email protected]>
  • Loading branch information
enthusiastmartin and Roznovjak authored May 7, 2024
1 parent 1b57de4 commit 67f712b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/basilisk/src/xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,7 @@ impl Convert<Location, Option<AssetId>> for CurrencyIdConvert {

impl Convert<Asset, Option<AssetId>> for CurrencyIdConvert {
fn convert(asset: Asset) -> Option<AssetId> {
let Asset { id: asset_id, .. } = asset;
Self::convert(asset_id.0)
Self::convert(asset.id.0)
}
}

Expand Down

0 comments on commit 67f712b

Please sign in to comment.