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 authored and GitHub committed 2022-11-11 14:22:17 +00:00
1 parent bd2166de79
commit ba12f3af9d
5 files changed
+63 -3

No files matched your search

+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,