Merge pull request #1933 from terencechain/patch-106

Use `LIGHT_CLIENT_COMMITTEE_SIZE` in `get_light_client_committee`
This commit is contained in:
Danny Ryan 2020-06-24 19:30:30 -06:00 committed by GitHub
commit 80dd6a574d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,7 +569,7 @@ def get_light_client_committee(beacon_state: BeaconState, epoch: Epoch) -> Seque
seed=seed,
index=0,
count=get_active_shard_count(beacon_state),
)[:TARGET_COMMITTEE_SIZE]
)[:LIGHT_CLIENT_COMMITTEE_SIZE]
```
#### `get_shard_proposer_index`