mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
crypto/bls12381: fix typo in comment (#27930)
This commit is contained in:
parent
f1801a9fed
commit
05a8b887a9
@ -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…
Reference in New Issue
Block a user