Fix lint
This commit is contained in:
parent
6d368179e1
commit
bd6321d2c0
@ -157,12 +157,12 @@ func aggregateSignatures(sigs []crypto.Signature) (*crypto.Signature, error) {
|
|||||||
// be returned
|
// be returned
|
||||||
return &crypto.Signature{
|
return &crypto.Signature{
|
||||||
Type: crypto.SigTypeBLS,
|
Type: crypto.SigTypeBLS,
|
||||||
Data: ([]byte)(new(bls.Signature)[:]), // TODO: verify this is okay
|
Data: new(bls.Signature)[:], // TODO: verify this is okay
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
return &crypto.Signature{
|
return &crypto.Signature{
|
||||||
Type: crypto.SigTypeBLS,
|
Type: crypto.SigTypeBLS,
|
||||||
Data: ([]byte)(aggSig[:]),
|
Data: aggSig[:],
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user