PartialSmt: fix misleading variable names
This commit is contained in:
parent
feaf149e7c
commit
8d8fcf6615
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue