core/vm, crypt/bls12381: fixed comments in bls (#21182)

* core/vm: crypto/bls12381: minor code comments

* crypto/bls12381: fix comment
This commit is contained in:
Marius van der Wijden
2020-06-08 09:53:19 +02:00
committed by GitHub
parent 9d93535674
commit 55f30db0ae
3 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ func (g *G2) ToBytes(p *PointG2) []byte {
return out
}
// EncodePoint encodes a point into 128 bytes.
// EncodePoint encodes a point into 256 bytes.
func (g *G2) EncodePoint(p *PointG2) []byte {
// outRaw is 96 bytes
outRaw := g.ToBytes(p)