Skip to content

Commit 34aa505

Browse files
committed
Note _matchCase
1 parent 9742daa commit 34aa505

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
@@ -118,6 +118,7 @@ library ZKEmailUtils {
118118
_matchCase(emailAuthMsg, template, Case.CHECKSUM);
119119
}
120120

121+
/// @dev MUST NOT be called with `Case.ANY` to avoid unexpected behavior.
121122
function _matchCase(
122123
EmailAuthMsg memory emailAuthMsg,
123124
string[] memory template,

0 commit comments

Comments
 (0)