mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-02 22:34:50 -04:00
rename pathIndex -> pathIndices
This commit is contained in:
parent
07168f9816
commit
ec4508e81e
5 changed files with 19 additions and 22 deletions
|
@ -37,7 +37,7 @@ template Withdraw(levels) {
|
|||
signal private input nullifier;
|
||||
signal private input secret;
|
||||
signal private input pathElements[levels];
|
||||
signal private input pathIndex[levels];
|
||||
signal private input pathIndices[levels];
|
||||
|
||||
component hasher = CommitmentHasher();
|
||||
hasher.nullifier <== nullifier;
|
||||
|
@ -50,7 +50,7 @@ template Withdraw(levels) {
|
|||
tree.root <== root;
|
||||
for (var i = 0; i < levels; i++) {
|
||||
tree.pathElements[i] <== pathElements[i];
|
||||
tree.pathIndex[i] <== pathIndex[i];
|
||||
tree.pathIndices[i] <== pathIndices[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue