diff --git a/primitives/src/extrinsics/extrinsic_params.rs b/primitives/src/extrinsics/extrinsic_params.rs index 589a28915..6dc23e1b7 100644 --- a/primitives/src/extrinsics/extrinsic_params.rs +++ b/primitives/src/extrinsics/extrinsic_params.rs @@ -17,6 +17,7 @@ use crate::config::Config; use codec::{Decode, Encode}; +#[cfg(feature = "disable-metadata-hash-check")] use primitive_types::H256; use sp_runtime::{ generic::Era,