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

This reverts commit fdad633b8a.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 35ca9d3291
commit 0bf219bf00

View file

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