diff --git a/utils/src/merkle_tree/full_merkle_tree.rs b/utils/src/merkle_tree/full_merkle_tree.rs index 11610ca..a0fd077 100644 --- a/utils/src/merkle_tree/full_merkle_tree.rs +++ b/utils/src/merkle_tree/full_merkle_tree.rs @@ -257,7 +257,7 @@ where Ok(()) } - // Computes a merkle proof the the leaf at the specified index + // Computes a merkle proof the leaf at the specified index fn proof(&self, leaf: usize) -> Result> { if leaf >= self.capacity() { return Err(Report::msg("index exceeds set size")); diff --git a/utils/src/merkle_tree/optimal_merkle_tree.rs b/utils/src/merkle_tree/optimal_merkle_tree.rs index 40c3fc1..ef31cb6 100644 --- a/utils/src/merkle_tree/optimal_merkle_tree.rs +++ b/utils/src/merkle_tree/optimal_merkle_tree.rs @@ -225,7 +225,7 @@ where Ok(()) } - // Computes a merkle proof the the leaf at the specified index + // Computes a merkle proof the leaf at the specified index fn proof(&self, index: usize) -> Result { if index >= self.capacity() { return Err(Report::msg("index exceeds set size"));