diff --git a/data_structures/src/superblock.rs b/data_structures/src/superblock.rs index e87eef56c..7e3d30ad3 100644 --- a/data_structures/src/superblock.rs +++ b/data_structures/src/superblock.rs @@ -163,8 +163,7 @@ impl SuperBlockVotesMempool { |mut acc, (superblock_hash, votes)| { let pkhs: Vec = votes .iter() - .map(|vote| vote.secp256k1_signature.public_key.pkh()) - .map(|pkh| pkh.to_string()) + .map(|vote| vote.secp256k1_signature.public_key.pkh().to_string()) .collect(); acc.push_str(&format!(