From a10bf55d9cf645cd51c45af2e0093d3c51ba2da8 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Mon, 2 Oct 2023 15:46:51 -0400 Subject: [PATCH] chore: fix compiler warning --- stacks-common/src/util/hash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks-common/src/util/hash.rs b/stacks-common/src/util/hash.rs index 9660210dc..3f7c16551 100644 --- a/stacks-common/src/util/hash.rs +++ b/stacks-common/src/util/hash.rs @@ -429,7 +429,7 @@ where row_hashes.reserve(nodes[i].len() / 2); for j in 0..(nodes[i].len() / 2) { - let h = MerkleTree::get_node_hash(&nodes[i][(2 * j)], &nodes[i][2 * j + 1]); + let h = MerkleTree::get_node_hash(&nodes[i][2 * j], &nodes[i][2 * j + 1]); row_hashes.push(h); }