mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-02 06:09:53 +08:00
chore: fix compiler warning
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user