mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "crypto/bls12381: fix typo in comment (#27930)"
This reverts commit fdad633b8a.
This commit is contained in:
parent
35ca9d3291
commit
0bf219bf00
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue