fix: incorrect alias check brought from snarkjs.

This commit is contained in:
Yumin Xia
2024-04-05 12:21:59 -07:00
parent a522fff448
commit 8e246c48bf

View File

@@ -241,7 +241,7 @@ contract SemaphoreVerifier {
assembly {
function checkField(v) {
if iszero(lt(v, q)) {
if iszero(lt(v, r)) {
mstore(0, 0)
return(0, 0x20)
}