mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-10-01 01:06:17 -04:00
remove redundant constraints
This commit is contained in:
parent
ca9724bcf9
commit
aa2615e936
@ -26,6 +26,7 @@ template CommitmentHasher() {
|
||||
template Withdraw(levels, rounds) {
|
||||
signal input root;
|
||||
signal input nullifier;
|
||||
// TODO: Check if we need some kind of explicit constraints or something for those 2 inputs
|
||||
signal input receiver; // not taking part in any computations
|
||||
signal input fee; // not taking part in any computations
|
||||
signal private input secret;
|
||||
@ -43,10 +44,6 @@ template Withdraw(levels, rounds) {
|
||||
tree.pathElements[i] <== pathElements[i];
|
||||
tree.pathIndex[i] <== pathIndex[i];
|
||||
}
|
||||
|
||||
// TODO: Check if we need some kind of explicit constraints or something
|
||||
fee === fee;
|
||||
receiver === receiver;
|
||||
}
|
||||
|
||||
component main = Withdraw(16, 220);
|
||||
component main = Withdraw(16, 220);
|
||||
|
Loading…
Reference in New Issue
Block a user