diff --git a/pallets/ddc-verification/src/lib.rs b/pallets/ddc-verification/src/lib.rs index f6331a613..134fd51f3 100644 --- a/pallets/ddc-verification/src/lib.rs +++ b/pallets/ddc-verification/src/lib.rs @@ -60,6 +60,8 @@ use sp_std::{ prelude::*, }; pub mod weights; +use sp_io::hashing::blake2_256; + use crate::weights::WeightInfo; #[cfg(feature = "runtime-benchmarks")] @@ -139,7 +141,7 @@ pub mod pallet { data.extend_from_slice(&self.payers_root.encode()); data.extend_from_slice(&self.payees_root.encode()); data.extend_from_slice(&self.cluster_usage.encode()); - sp_core::blake2_256(&data).into() + blake2_256(&data).into() } }