fix custody bug, needs review from Carl

This commit is contained in:
protolambda 2019-06-20 22:49:03 +02:00
parent d8f470bb4a
commit 6338c5b880
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

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