Skip to content

Commit

Permalink
fix: missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
yahortsaryk committed Nov 29, 2024
1 parent 174f7d2 commit 793f079
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pallets/ddc-verification/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down Expand Up @@ -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()
}
}

Expand Down

0 comments on commit 793f079

Please sign in to comment.