Update 0_beacon-chain.md

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

View File

@ -912,7 +912,7 @@ def get_crosslink_committee(state: BeaconState, epoch: Epoch, shard: Shard) -> L
"""
Return the crosslink committee at ``epoch`` for ``shard``.
"""
active_validator_indices = get_active_validator_indices(state, epoch)
active_indices = get_active_validator_indices(state, epoch)
committee_count = get_epoch_committee_count(state, epoch)
committee_index = (shard + SHARD_COUNT - get_epoch_start_shard(state, epoch)) % SHARD_COUNT