From ec35f28dd344feb83ac4db14a64060286b3b250f Mon Sep 17 00:00:00 2001 From: Krushimir Date: Thu, 23 Jan 2025 17:32:55 +0100 Subject: [PATCH] chore: update docs Co-authored-by: Philipp Gackstatter --- src/merkle/smt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/merkle/smt/mod.rs b/src/merkle/smt/mod.rs index c5645d91..10eea88e 100644 --- a/src/merkle/smt/mod.rs +++ b/src/merkle/smt/mod.rs @@ -621,7 +621,7 @@ pub(crate) trait SparseMerkleTree { /// Constructs an `InnerNode` representing the sibling pair of which `first_leaf` is a part: /// - If `first_leaf` is a right child, the left child is copied from the `parent_node`. - /// - If `first_leaf` is a left child, the right child is taken from `iter` if it also mutated + /// - If `first_leaf` is a left child, the right child is taken from `iter` if it was also mutated /// or copied from the `parent_node`. /// /// Returns the `InnerNode` containing the hashes of the sibling pair.