fix get_shard_committee

This commit is contained in:
Danny Ryan 2019-11-22 16:26:36 -07:00
parent ddd7cd2964
commit a1ac0d5a80
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -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`