From cd7a64a1ca5b8e1ea6339125c0c966065ada8e70 Mon Sep 17 00:00:00 2001 From: ron Date: Tue, 16 Apr 2024 09:30:03 +0800 Subject: [PATCH] Fix compile error --- bridges/snowbridge/pallets/inbound-queue/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bridges/snowbridge/pallets/inbound-queue/src/lib.rs b/bridges/snowbridge/pallets/inbound-queue/src/lib.rs index 347535e50954..db38afbdc72e 100644 --- a/bridges/snowbridge/pallets/inbound-queue/src/lib.rs +++ b/bridges/snowbridge/pallets/inbound-queue/src/lib.rs @@ -48,7 +48,7 @@ use frame_support::{ }; use frame_system::ensure_signed; use scale_info::TypeInfo; -use sp_core::H160; +use sp_core::{H160, H256}; use sp_runtime::traits::Zero; use sp_std::{convert::TryFrom, vec}; use xcm::prelude::{ @@ -70,8 +70,6 @@ pub use weights::WeightInfo; #[cfg(feature = "runtime-benchmarks")] use snowbridge_beacon_primitives::BeaconHeader; -#[cfg(feature = "runtime-benchmarks")] -use sp_core::H256; type BalanceOf = <::Token as Inspect<::AccountId>>::Balance;