Skip to content

Commit a937599

Browse files
authored
Merge branch 'main' into fix/auditor-check-inputs-and-recipients
2 parents c333cbb + 13a8bd8 commit a937599

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • token/core/zkatdlog/nogh/v1/crypto/rp/bulletproof

token/core/zkatdlog/nogh/v1/crypto/rp/bulletproof/ipa.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ func (ipa *IPA) Validate(curve mathlib.CurveID) error {
8181
if ipa.R == nil {
8282
return errors.New("invalid IPA proof: nil R")
8383
}
84-
if err := math.CheckZrElements(ipa.L, curve, uint64(len(ipa.L))); err != nil {
84+
if err := math.CheckElements(ipa.L, curve, uint64(len(ipa.L))); err != nil {
8585
return errors.Wrapf(err, "invalid IPA proof: invalid L elements")
8686
}
87-
if err := math.CheckZrElements(ipa.R, curve, uint64(len(ipa.R))); err != nil {
87+
if err := math.CheckElements(ipa.R, curve, uint64(len(ipa.R))); err != nil {
8888
return errors.Wrapf(err, "invalid IPA proof: invalid R elements")
8989
}
9090

0 commit comments

Comments
 (0)