remove private modifiers from non-main templates

This commit is contained in:
poma 2019-11-24 13:29:14 +04:00
parent d0e312eb80
commit 0c4c27b7b6
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
2 changed files with 4 additions and 4 deletions

View File

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

View File

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