Skip to content
Snippets Groups Projects
Commit 7b2d912e authored by Matteo Muraca's avatar Matteo Muraca
Browse files

fixes

parent c1cb0ff0
Branches
No related merge requests found
Pipeline #519123 waiting for manual action with stages
in 1 hour, 47 minutes, and 54 seconds
...@@ -46,6 +46,7 @@ use frame_support::{ ...@@ -46,6 +46,7 @@ use frame_support::{
use frame_system::pallet_prelude::{BlockNumberFor, *}; use frame_system::pallet_prelude::{BlockNumberFor, *};
pub use pallet::*; pub use pallet::*;
use scale_info::TypeInfo; use scale_info::TypeInfo;
use sp_core::H256;
use sp_runtime::{ use sp_runtime::{
traits::{ traits::{
AccountIdConversion, BadOrigin, BlakeTwo256, BlockNumberProvider, Dispatchable, Hash, AccountIdConversion, BadOrigin, BlakeTwo256, BlockNumberProvider, Dispatchable, Hash,
...@@ -192,7 +193,6 @@ pub mod pallet { ...@@ -192,7 +193,6 @@ pub mod pallet {
parameter_types, parameter_types,
}; };
use frame_system::Config as SysConfig; use frame_system::Config as SysConfig;
use sp_core::H256;
use sp_runtime::traits::Dispatchable; use sp_runtime::traits::Dispatchable;
use xcm_executor::traits::{MatchesFungible, WeightBounds}; use xcm_executor::traits::{MatchesFungible, WeightBounds};
...@@ -1574,7 +1574,7 @@ impl<T: Config> Pallet<T> { ...@@ -1574,7 +1574,7 @@ impl<T: Config> Pallet<T> {
/// Value is the number of times this pair has been trapped /// Value is the number of times this pair has been trapped
/// (usually just 1 if it exists at all). /// (usually just 1 if it exists at all).
pub fn asset_trap(trap_id: &H256) -> u32 { pub fn asset_trap(trap_id: &H256) -> u32 {
AssetTraps::<T>::get(&trap_id) AssetTraps::<T>::get(trap_id)
} }
/// Find `TransferType`s for `assets` and fee identified through `fee_asset_item`, when /// Find `TransferType`s for `assets` and fee identified through `fee_asset_item`, when
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment