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:
committed by
GitHub
parent
9d93535674
commit
55f30db0ae
@ -44,7 +44,7 @@ func newFp2() *fp2 {
|
||||
|
||||
func (e *fp2) fromBytes(in []byte) (*fe2, error) {
|
||||
if len(in) != 96 {
|
||||
return nil, errors.New("input string should be larger than 96 bytes")
|
||||
return nil, errors.New("length of input string should be 96 bytes")
|
||||
}
|
||||
c1, err := fromBytes(in[:48])
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user