Allow other pallets to check asset ids. (#12666)

* Make it easier for other pallets to check asset ids.

* Avoid boxing

* cargo fmt
This commit is contained in:
Squirrel
2022-11-11 14:22:17 +00:00
committed by GitHub
parent bd2166de79
commit ba12f3af9d
5 changed files with 63 additions and 3 deletions
+1
View File
@@ -154,6 +154,7 @@ use frame_support::{
dispatch::{DispatchError, DispatchResult},
ensure,
pallet_prelude::DispatchResultWithPostInfo,
storage::KeyPrefixIterator,
traits::{
tokens::{fungibles, DepositConsequence, WithdrawConsequence},
BalanceStatus::Reserved,