mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-29 20:05:21 +00:00
fix seed xor in get_shuffling using bytes32
This commit is contained in:
parent
fff0989b8c
commit
78ee210d56
@ -880,7 +880,7 @@ def get_shuffling(seed: Hash32,
|
||||
)
|
||||
|
||||
# Shuffle
|
||||
seed = xor(randao_mix, hash(slot))
|
||||
seed = xor(randao_mix, bytes32(slot))
|
||||
shuffled_active_validator_indices = shuffle(active_validator_indices, seed)
|
||||
|
||||
# Split the shuffled list into epoch_length pieces
|
||||
|
Loading…
x
Reference in New Issue
Block a user