rename pathIndex -> pathIndices

This commit is contained in:
poma 2019-11-02 05:05:25 +03:00
parent 07168f9816
commit ec4508e81e
5 changed files with 19 additions and 22 deletions

View file

@ -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];
}
}