diff --git a/lib/modules/blockchain/blockchain-dal/src/tools.rs b/lib/modules/blockchain/blockchain-dal/src/tools.rs index 1a2e7dc8d2eda0989c7f4e03250d44606f2697e0..f06c2f991e9ed61a31090b6abcba18d9b4a090fb 100644 --- a/lib/modules/blockchain/blockchain-dal/src/tools.rs +++ b/lib/modules/blockchain/blockchain-dal/src/tools.rs @@ -142,7 +142,7 @@ pub fn calculate_distance_stress_centralities<T: WebOfTrust>(wot: &T, step_max: /// Compute median issuers frame pub fn compute_median_issuers_frame<S: std::hash::BuildHasher>( - current_block: DALBlock, + current_block: &DALBlock, current_frame: &HashMap<PubKey, usize, S>, ) -> usize { if !current_frame.is_empty() {