mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 09:47:13 +01: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) {
|
template MerkleTree(levels) {
|
||||||
signal input leaf;
|
signal input leaf;
|
||||||
signal input root;
|
signal input root;
|
||||||
signal private input pathElements[levels];
|
signal input pathElements[levels];
|
||||||
signal private input pathIndices[levels];
|
signal input pathIndices[levels];
|
||||||
|
|
||||||
component selectors[levels];
|
component selectors[levels];
|
||||||
component hashers[levels];
|
component hashers[levels];
|
||||||
|
@ -4,8 +4,8 @@ include "merkleTree.circom";
|
|||||||
|
|
||||||
// computes Pedersen(nullifier + secret)
|
// computes Pedersen(nullifier + secret)
|
||||||
template CommitmentHasher() {
|
template CommitmentHasher() {
|
||||||
signal private input nullifier;
|
signal input nullifier;
|
||||||
signal private input secret;
|
signal input secret;
|
||||||
signal output commitment;
|
signal output commitment;
|
||||||
signal output nullifierHash;
|
signal output nullifierHash;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user