From bb06e7c6c62c257892604f1b9773c4d669b6873f Mon Sep 17 00:00:00 2001 From: Enrico Bottazzi <85900164+enricobottazzi@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:25:49 +0100 Subject: [PATCH] chore: comments --- zk_prover/src/merkle_sum_tree/aggregation_mst.rs | 2 +- zk_prover/src/merkle_sum_tree/utils/create_proof.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zk_prover/src/merkle_sum_tree/aggregation_mst.rs b/zk_prover/src/merkle_sum_tree/aggregation_mst.rs index a608e287..c36f2fa4 100644 --- a/zk_prover/src/merkle_sum_tree/aggregation_mst.rs +++ b/zk_prover/src/merkle_sum_tree/aggregation_mst.rs @@ -103,7 +103,7 @@ impl AggregationMerkleSumTree( let mut path_indices = vec![Fp::from(0); depth]; let mut current_index = index; - let leaf = &nodes[0][index]; // Added this line to store the leaf node + let leaf = &nodes[0][index]; for level in 0..depth { let position = current_index % 2;