Skip to content

Commit

Permalink
Merge remote-tracking branch 'iden3/master' into feat/audit_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kobigurk committed Dec 3, 2019
2 parents b928421 + d6e6a3b commit eeecd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuits/mimcsponge.circom
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,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];
Expand Down

0 comments on commit eeecd07

Please sign in to comment.