16-byte align ValidatorSig and TrustedSig (#5301)
This commit is contained in:
parent
22b7b721d0
commit
0d1614326d
|
@ -67,7 +67,7 @@ type
|
||||||
CookedPubKey* = distinct blscurve.PublicKey ## Valid deserialized key
|
CookedPubKey* = distinct blscurve.PublicKey ## Valid deserialized key
|
||||||
|
|
||||||
ValidatorSig* = object
|
ValidatorSig* = object
|
||||||
blob*: array[RawSigSize, byte]
|
blob* {.align: 16.}: array[RawSigSize, byte]
|
||||||
|
|
||||||
ValidatorPrivKey* = distinct blscurve.SecretKey
|
ValidatorPrivKey* = distinct blscurve.SecretKey
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ type
|
||||||
BlsResult*[T] = Result[T, cstring]
|
BlsResult*[T] = Result[T, cstring]
|
||||||
|
|
||||||
TrustedSig* = object
|
TrustedSig* = object
|
||||||
data*: array[RawSigSize, byte]
|
data* {.align: 16.}: array[RawSigSize, byte]
|
||||||
|
|
||||||
SomeSig* = TrustedSig | ValidatorSig
|
SomeSig* = TrustedSig | ValidatorSig
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue