From 99a7988e9ecf533c937a4452c2d99a437e4c265b Mon Sep 17 00:00:00 2001 From: Qyriad Date: Mon, 24 Mar 2025 17:00:45 +0100 Subject: [PATCH] PartialSmt: fix misleading variable names --- miden-crypto/src/merkle/smt/partial.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miden-crypto/src/merkle/smt/partial.rs b/miden-crypto/src/merkle/smt/partial.rs index 93479d3..8bbc4e9 100644 --- a/miden-crypto/src/merkle/smt/partial.rs +++ b/miden-crypto/src/merkle/smt/partial.rs @@ -46,8 +46,8 @@ impl PartialSmt { { let mut partial_smt = Self::new(); - for (leaf, path) in paths.into_iter().map(SmtProof::into_parts) { - partial_smt.add_path(path, leaf)?; + for (path, leaf) in paths.into_iter().map(SmtProof::into_parts) { + partial_smt.add_path(leaf, path)?; } Ok(partial_smt)