Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Hsiao-Wei Wang 2019-01-09 10:59:45 -06:00 committed by GitHub
parent 06c5c11cd5
commit 83d54f6aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -902,7 +902,7 @@ def get_prev_epoch_committees_per_slot(state: BeaconState):
#### `get_cur_epoch_committees_per_slot`
```python
def get_cur_epoch_committees_per_slot(state: BeaconState):
def get_cur_epoch_committees_per_slot(state: BeaconState) -> int:
cur_active_validators = get_active_validator_indices(validators, state.cur_epoch_calculation_slot)
return get_committees_per_slot(len(cur_active_validators))
```