From 4ddf81f5420860ad21bbad77840ac6a3daf100fe Mon Sep 17 00:00:00 2001 From: Pepper Lebeck-Jobe Date: Thu, 18 Jul 2024 22:46:58 +0200 Subject: [PATCH] Remove obsolete code comment --- arbitrator/prover/src/merkle.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/arbitrator/prover/src/merkle.rs b/arbitrator/prover/src/merkle.rs index 232ac78d87..a3b063786f 100644 --- a/arbitrator/prover/src/merkle.rs +++ b/arbitrator/prover/src/merkle.rs @@ -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;