PartialSmt: fix misleading variable names
This commit is contained in:
parent
41f72ecf2f
commit
99a7988e9e
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ impl PartialSmt {
|
||||||
{
|
{
|
||||||
let mut partial_smt = Self::new();
|
let mut partial_smt = Self::new();
|
||||||
|
|
||||||
for (leaf, path) in paths.into_iter().map(SmtProof::into_parts) {
|
for (path, leaf) in paths.into_iter().map(SmtProof::into_parts) {
|
||||||
partial_smt.add_path(path, leaf)?;
|
partial_smt.add_path(leaf, path)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(partial_smt)
|
Ok(partial_smt)
|
||||||
|
|
Loading…
Add table
Reference in a new issue