mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-25 01:50:08 +00:00
Update 0_beacon-chain.md
This commit is contained in:
parent
73603f4ed6
commit
adfa014a30
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user