This commit is contained in:
Hsiao-Wei Wang 2019-02-07 19:18:39 +08:00
parent 70e482be28
commit aa9f9fc9be
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 0 additions and 1 deletions

View File

@ -774,7 +774,6 @@ def get_shuffling(seed: Bytes32,
committees_per_epoch = get_epoch_committee_count(len(active_validator_indices)) committees_per_epoch = get_epoch_committee_count(len(active_validator_indices))
# Shuffle # Shuffle
shuffled_indices = shuffle(len(active_validator_indices), seed)
shuffled_active_validator_indices = [ shuffled_active_validator_indices = [
active_validator_indices[i] active_validator_indices[i]
for i in shuffle(len(active_validator_indices), seed) for i in shuffle(len(active_validator_indices), seed)