Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Danny Ryan 2019-01-10 21:00:59 -06:00 committed by GitHub
parent 69cd904782
commit a0a96c7e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ def get_previous_epoch_committees_per_slot(state: BeaconState) -> int:
#### `get_current_epoch_committees_per_slot`
```python
def get_current_epoch_committees_per_slot(state: BeaconState) -> int:
def get_current_epoch_committee_count_per_slot(state: BeaconState) -> int:
current_active_validators = get_active_validator_indices(validators, state.current_epoch_calculation_slot)
return get_committees_per_slot(len(current_active_validators))
```