Skip to content

Commit

Permalink
better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Apr 17, 2024
1 parent 1498c2f commit 2ed196d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/incremental_merkle_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ where
///
/// Performs the calculation up the tree but also recalculates every right
/// branch of tree recursively this way if a number of new leaves were
/// added at once we
/// added at once we recalculate all the updated tree paths
fn recalculate_storage(&mut self, mut current: usize) {
// We must propagate the new leaf up the tree while
// also recalculating every right we encounter
Expand Down

0 comments on commit 2ed196d

Please sign in to comment.