Skip to content

Commit

Permalink
fix: removed unnecessary output in remove-soft-line-breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-londhe committed Sep 6, 2024
1 parent 05ac39b commit e74aed7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/circuits/email-verifier.circom
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,12 @@ template EmailVerifier(maxHeadersLength, maxBodyLength, n, k, ignoreBodyHashChec

if (removeSoftLineBreaks == 1) {
signal input decodedEmailBodyIn[maxBodyLength];
signal output decodedEmailBodyOut[maxBodyLength];
component qpEncodingChecker = RemoveSoftLineBreaks(maxBodyLength);

qpEncodingChecker.encoded <== emailBody;
qpEncodingChecker.decoded <== decodedEmailBodyIn;

qpEncodingChecker.isValid === 1;

decodedEmailBodyOut <== qpEncodingChecker.decoded;
}

if (enableBodyMasking == 1) {
Expand Down

0 comments on commit e74aed7

Please sign in to comment.