Skip to content

Commit

Permalink
Remove obsolete code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eljobe committed Jul 18, 2024
1 parent 613e9dd commit 4ddf81f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arbitrator/prover/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,6 @@ impl Merkle {
// Process dirty indices starting from layer 1 (layer 0 is the leaves).
for layer_i in 1..layers.data.len() {
let mut new_dirt = bitvec![0; dirt.len() + 1 >> 1];
// It is important to process the dirty indices in order because
// when the leaves grown since the last rehash, the new parent is
// simply pused to the end of the layer's data.
for idx in dirt.iter_ones() {
let left_child_idx = idx << 1;
let right_child_idx = left_child_idx + 1;
Expand Down

0 comments on commit 4ddf81f

Please sign in to comment.