fix call to hash (from Hash32)

This commit is contained in:
Danny Ryan 2019-01-08 09:35:51 -07:00 committed by GitHub
parent f6453a7455
commit fff0989b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -880,7 +880,7 @@ def get_shuffling(seed: Hash32,
)
# Shuffle
seed = xor(randao_mix, Hash32(slot))
seed = xor(randao_mix, hash(slot))
shuffled_active_validator_indices = shuffle(active_validator_indices, seed)
# Split the shuffled list into epoch_length pieces