Update 0_beacon-chain.md

This commit is contained in:
Justin 2019-04-30 11:44:21 +01:00 committed by GitHub
parent adfa014a30
commit a23c9f712d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ def get_crosslink_committee(state: BeaconState, epoch: Epoch, shard: Shard) -> L
end_validator_index = (len(active_indices) * (committee_index + 1)) // committee_count
return [
active_indices[get_shuffled_index(i, len(active_indices), generate_seed(state, epoch))]
for i in range(start_index, end_index)
for i in range(start_validator_index, end_validator_index)
]
```