Skip to content

Commit

Permalink
fix bn254 solidity template (#1324)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivo Kubjas <[email protected]>
  • Loading branch information
simplexity-ckcclc and ivokub authored Nov 29, 2024
1 parent 76731ff commit 53ce9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/groth16/bn254/solidity.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ contract Verifier {
mstore(f, CONSTANT_X)
mstore(add(f, 0x20), CONSTANT_Y)
{{- if gt $numCommitments 0 }}
{{- if eq $numWitness 1 }}
{{- if eq $numCommitments 1 }}
mstore(g, mload(commitments))
mstore(add(g, 0x20), mload(add(commitments, 0x20)))
{{- else }}
Expand Down

0 comments on commit 53ce9b7

Please sign in to comment.