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:01:05 -06:00
committed by GitHub
parent a0a96c7e7c
commit 648c35dc3d

View File

@@ -897,7 +897,7 @@ def get_shuffling(seed: Hash32,
#### `get_previous_epoch_committees_per_slot`
```python
def get_previous_epoch_committees_per_slot(state: BeaconState) -> int:
def get_previous_epoch_committee_count_per_slot(state: BeaconState) -> int:
previous_active_validators = get_active_validator_indices(validators, state.previous_epoch_calculation_slot)
return get_committees_per_slot(len(previous_active_validators))
```