mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
fix custody bug, needs review from Carl
This commit is contained in:
parent
d8f470bb4a
commit
6338c5b880
@ -27,7 +27,7 @@ def get_valid_early_derived_secret_reveal(spec, state, epoch=None):
|
||||
domain_type=spec.DOMAIN_RANDAO,
|
||||
message_epoch=epoch,
|
||||
),
|
||||
)
|
||||
)[:32] # TODO(Carl): mask is 32 bytes, and signature is 96? Correct to slice the first 32 out?
|
||||
|
||||
return spec.EarlyDerivedSecretReveal(
|
||||
revealed_index=revealed_index,
|
||||
|
Loading…
x
Reference in New Issue
Block a user