mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-14 04:34:43 +00:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
a0a96c7e7c
commit
648c35dc3d
@ -897,7 +897,7 @@ def get_shuffling(seed: Hash32,
|
|||||||
#### `get_previous_epoch_committees_per_slot`
|
#### `get_previous_epoch_committees_per_slot`
|
||||||
|
|
||||||
```python
|
```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)
|
previous_active_validators = get_active_validator_indices(validators, state.previous_epoch_calculation_slot)
|
||||||
return get_committees_per_slot(len(previous_active_validators))
|
return get_committees_per_slot(len(previous_active_validators))
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user