mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 21:55:22 -05:00
fix seed xor in get_shuffling using bytes32
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user