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 11:00:13 -06:00 committed by GitHub
parent 608ec2452c
commit 0b16430cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ def get_shuffling(seed: Hash32,
#### `get_prev_epoch_committees_per_slot`
```python
def get_prev_epoch_committees_per_slot(state: BeaconState):
def get_prev_epoch_committees_per_slot(state: BeaconState) -> int:
prev_active_validators = get_active_validator_indices(validators, state.prev_epoch_calculation_slot)
return get_committees_per_slot(len(prev_active_validators))
```