mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-10-01 01:06:17 -04:00
remove private
modifiers from non-main templates
This commit is contained in:
parent
d0e312eb80
commit
0c4c27b7b6
@ -29,8 +29,8 @@ template DualMux() {
|
||||
template MerkleTree(levels) {
|
||||
signal input leaf;
|
||||
signal input root;
|
||||
signal private input pathElements[levels];
|
||||
signal private input pathIndices[levels];
|
||||
signal input pathElements[levels];
|
||||
signal input pathIndices[levels];
|
||||
|
||||
component selectors[levels];
|
||||
component hashers[levels];
|
||||
|
@ -4,8 +4,8 @@ include "merkleTree.circom";
|
||||
|
||||
// computes Pedersen(nullifier + secret)
|
||||
template CommitmentHasher() {
|
||||
signal private input nullifier;
|
||||
signal private input secret;
|
||||
signal input nullifier;
|
||||
signal input secret;
|
||||
signal output commitment;
|
||||
signal output nullifierHash;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user