arnaucube
arnaucube/circomlibPublic Self-hosted repository
Fix assigning to signal
Jordi Baylina jordi@baylina.cat
Tue, 03 Dec 2019 19:16:19 +0100
commit

d6e6a3b3f4aa673bb266023984de432df455bb8d

parent

e3eb8343228a4c8b0d46180558e75360e33a32aa

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M circuits/mimcsponge.circom → circuits/mimcsponge.circom

@@ -279,7 +279,7 @@ t2[i] <== t*t;

t4[i] <== t2[i]*t2[i]; if (i<nrounds-1) { xL[i] <== ((i==0) ? xR_in : xR[i-1]) + t4[i]*t; - xR[i] = (i==0) ? xL_in : xL[i-1]; + xR[i] <== (i==0) ? xL_in : xL[i-1]; } else { xR_out <== xR[i-1] + t4[i]*t; xL_out <== xL[i-1];