From 0c4c27b7b68a087a6664e65a5f14a6eb3fd7e433 Mon Sep 17 00:00:00 2001 From: poma Date: Sun, 24 Nov 2019 13:29:14 +0400 Subject: [PATCH] remove `private` modifiers from non-main templates --- circuits/merkleTree.circom | 4 ++-- circuits/withdraw.circom | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/circuits/merkleTree.circom b/circuits/merkleTree.circom index 1764f14..329f9dc 100644 --- a/circuits/merkleTree.circom +++ b/circuits/merkleTree.circom @@ -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]; diff --git a/circuits/withdraw.circom b/circuits/withdraw.circom index 8bf83fc..4d803fc 100644 --- a/circuits/withdraw.circom +++ b/circuits/withdraw.circom @@ -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;