crypto/bls12381: fix typo in comment (#27930)

pull/27933/head
lonika 1 year ago committed by GitHub
parent f1801a9fed
commit 05a8b887a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      crypto/bls12381/g2.go

@ -121,7 +121,7 @@ func (g *G2) FromBytes(in []byte) (*PointG2, error) {
return p, nil
}
// DecodePoint given encoded (x, y) coordinates in 256 bytes returns a valid G1 Point.
// DecodePoint given encoded (x, y) coordinates in 256 bytes returns a valid G2 Point.
func (g *G2) DecodePoint(in []byte) (*PointG2, error) {
if len(in) != 256 {
return nil, errors.New("invalid g2 point length")

Loading…
Cancel
Save