mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-06 08:15:41 -04:00
Merge pull request #15 from peppersec/audit-circuit
Circuit audit fixes
This commit is contained in:
commit
b000e66899
5 changed files with 44 additions and 81 deletions
4
cli.js
4
cli.js
|
@ -107,7 +107,7 @@ async function withdrawErc20(note, receiver, relayer) {
|
|||
nullifier: deposit.nullifier,
|
||||
secret: deposit.secret,
|
||||
pathElements: path_elements,
|
||||
pathIndex: path_index,
|
||||
pathIndices: path_index,
|
||||
}
|
||||
|
||||
console.log('Generating SNARK proof')
|
||||
|
@ -182,7 +182,7 @@ async function withdraw(note, receiver) {
|
|||
nullifier: deposit.nullifier,
|
||||
secret: deposit.secret,
|
||||
pathElements: path_elements,
|
||||
pathIndex: path_index,
|
||||
pathIndices: path_index,
|
||||
}
|
||||
|
||||
console.log('Generating SNARK proof')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue