From bc45ad2116c9f794d897ff295bb845e85787a27a Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Sun, 17 Feb 2019 00:22:33 +0100
Subject: [PATCH] [style] blockchain-dal: comply-clippy
---
lib/modules/blockchain/blockchain-dal/src/tools.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/modules/blockchain/blockchain-dal/src/tools.rs b/lib/modules/blockchain/blockchain-dal/src/tools.rs
index 1a2e7dc8..f06c2f99 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() {
--
GitLab