Skip to content

Commit

Permalink
Revert "crypto/bls12381: fix typo in comment (ethereum#27930)"
Browse files Browse the repository at this point in the history
This reverts commit fdad633.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent 35ca9d3 commit 0bf219b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/bls12381/g2.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0bf219b

Please sign in to comment.