Skip to content

Commit

Permalink
Update Groth16Verifier.sol: fix snarkjs public signals check bug
Browse files Browse the repository at this point in the history
Fix snarkjs public signals check bug.
see iden3/snarkjs#518
  • Loading branch information
andrewcoder666 authored Nov 20, 2024
1 parent 5f17447 commit 87c8072
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/src/groth16/Groth16Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ contract Groth16Verifier {

checkField(calldataload(add(_pubSignals, 128)))

checkField(calldataload(add(_pubSignals, 160)))

// Validate all evaluations
let isValid := checkPairing(_pA, _pB, _pC, _pubSignals, pMem)

Expand Down

0 comments on commit 87c8072

Please sign in to comment.