Skip to content

Commit 72a4cfc

Browse files
committed
Adjustment
1 parent 3e9d0e3 commit 72a4cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/utils/cryptography/ZKEmailUtils.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ library ZKEmailUtils {
7676
string[] memory template
7777
) internal view returns (EmailProofError) {
7878
EmailProofError err = validateDKIMAndCommandFormat(emailAuthMsg, dkimregistry, verifier);
79+
if (err != EmailProofError.NoError) return err;
7980
for (uint256 i = 0; i < uint8(type(Case).max) && err != EmailProofError.NoError; i++) {
8081
err = validateExpectedCommandAndProof(emailAuthMsg, verifier, template, Case(i));
8182
}

0 commit comments

Comments
 (0)