mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-01-10 23:28:17 -05:00
fix: incorrect alias check brought from snarkjs.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user