This commit is contained in:
Łukasz Magiera 2021-01-25 15:35:00 +01:00
parent 6d368179e1
commit bd6321d2c0

View File

@ -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
} }