Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
refactor: Remove Inspect condition from NativeAsset in pallet-cosmos
Browse files Browse the repository at this point in the history
  • Loading branch information
code0xff committed Sep 11, 2024
1 parent 4481842 commit 4d85cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/cosmos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use frame_support::{
dispatch::{DispatchErrorWithPostInfo, DispatchInfo, PostDispatchInfo},
pallet_prelude::{DispatchResultWithPostInfo, InvalidTransaction, Pays},
traits::{
tokens::{fungible::Inspect, fungibles, AssetId, Balance},
tokens::{fungibles, AssetId, Balance},
Currency, Get,
},
weights::Weight,
Expand Down Expand Up @@ -264,7 +264,7 @@ pub mod pallet {
type AddressMapping: AddressMapping<Self::AccountId>;
/// Native asset type.
#[pallet::no_default]
type NativeAsset: Currency<Self::AccountId> + Inspect<Self::AccountId>;
type NativeAsset: Currency<Self::AccountId>;
/// Type of an account balance.
type Balance: Balance + Into<u128>;
/// Type of a tradable asset id.
Expand Down

0 comments on commit 4d85cd4

Please sign in to comment.