mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
fix get_shard_committee
This commit is contained in:
parent
ddd7cd2964
commit
a1ac0d5a80
@ -354,7 +354,7 @@ def get_shard_committee(beacon_state: BeaconState, epoch: Epoch, shard: Shard) -
|
||||
source_epoch -= SHARD_COMMITTEE_PERIOD
|
||||
active_validator_indices = get_active_validator_indices(beacon_state, source_epoch)
|
||||
seed = get_seed(beacon_state, source_epoch, DOMAIN_SHARD_COMMITTEE)
|
||||
return compute_committee(active_validator_indices, seed, 0, ACTIVE_SHARDS)
|
||||
return compute_committee(active_validator_indices, seed, shard, ACTIVE_SHARDS)
|
||||
```
|
||||
|
||||
#### `get_shard_proposer_index`
|
||||
|
Loading…
x
Reference in New Issue
Block a user