Skip to content

Commit

Permalink
fix: another occurence of G1 in SRS (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Feb 5, 2024
1 parent e043c9f commit d11824f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/commitments/kzg/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func NewVerifier[FR emulated.FieldParams, G1El algebra.G1ElementT, G2El algebra.
// commitment at point.
func (v *Verifier[FR, G1El, G2El, GTEl]) CheckOpeningProof(commitment Commitment[G1El], proof OpeningProof[FR, G1El], point emulated.Element[FR], vk VerifyingKey[G1El, G2El]) error {

claimedValueG1 := v.curve.ScalarMulBase(&proof.ClaimedValue)
claimedValueG1 := v.curve.ScalarMul(&vk.G1, &proof.ClaimedValue)

// [f(α) - f(a)]G₁
fminusfaG1 := v.curve.Neg(claimedValueG1)
Expand Down

0 comments on commit d11824f

Please sign in to comment.