mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
mask is hash() in tests
Co-Authored-By: dankrad <dankrad@ethereum.org>
This commit is contained in:
parent
a5b22e13b8
commit
d9644f518b
@ -21,7 +21,7 @@ def get_valid_early_derived_secret_reveal(spec, state, epoch=None):
|
||||
),
|
||||
)
|
||||
# Generate the mask (any random 32 bytes will do)
|
||||
mask = reveal[:32]
|
||||
mask = hash(reveal)
|
||||
# Generate masker's signature on the mask
|
||||
masker_signature = bls_sign(
|
||||
message_hash=mask,
|
||||
|
Loading…
x
Reference in New Issue
Block a user