Browse Source

Fix assigning to signal

master
Jordi Baylina 5 years ago
committed by GitHub
parent
commit
d6e6a3b3f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      circuits/mimcsponge.circom

+ 1
- 1
circuits/mimcsponge.circom

@ -279,7 +279,7 @@ template MiMCFeistel(nrounds) {
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];

Loading…
Cancel
Save