mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 18:01:03 +00:00
[xcm-builder] Replaced deprecated CurrencyAdapter with FungibleAdapter (#3287)
I found out during the cleanup of this deprecation message in the `polkadot-fellows` repository that we deprecated `CurrencyAdapter` without making the recommended changes. ## TODO - [ ] fix `polkadot-fellows` bump to 1.6.0 https://github.com/polkadot-fellows/runtimes/pull/159 --------- Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
This commit is contained in:
@@ -204,7 +204,7 @@ impl<
|
||||
) -> result::Result<AssetsInHolding, XcmError> {
|
||||
log::trace!(
|
||||
target: "xcm::fungible_adapter",
|
||||
"deposit_asset what: {:?}, who: {:?}",
|
||||
"withdraw_asset what: {:?}, who: {:?}",
|
||||
what, who,
|
||||
);
|
||||
let amount = Matcher::matches_fungible(what).ok_or(MatchError::AssetNotHandled)?;
|
||||
|
||||
Reference in New Issue
Block a user