diff --git a/polkadot/xcm/pallet-xcm/src/lib.rs b/polkadot/xcm/pallet-xcm/src/lib.rs index 33dcf43ccb590d2a962e35a4eba5d2efb68787e6..a35e6af438ceb10b71d87bf605c809e8c8bf2049 100644 --- a/polkadot/xcm/pallet-xcm/src/lib.rs +++ b/polkadot/xcm/pallet-xcm/src/lib.rs @@ -1564,7 +1564,7 @@ impl<T: Config> QueryHandler for Pallet<T> { impl<T: Config> Pallet<T> { /// The ongoing queries. - pub fn query(query_id: &QueryId) -> Option<QueryStatus<BlockNumberFor<T>>>> { + pub fn query(query_id: &QueryId) -> Option<QueryStatus<BlockNumberFor<T>>> { Queries::<T>::get(query_id) } @@ -1573,7 +1573,7 @@ impl<T: Config> Pallet<T> { /// Key is the blake2 256 hash of (origin, versioned `Assets`) pair. /// Value is the number of times this pair has been trapped /// (usually just 1 if it exists at all). - pub fn asset_trap(&H256) -> u32 { + pub fn asset_trap(trap_id: &H256) -> u32 { AssetTraps::<T>::get(&trap_id) }