mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
Merge pull request #553 from terenc3t/patch-43
Comments for get_next_epoch_committee_count
This commit is contained in:
commit
4d44b7c5a9
@ -821,6 +821,9 @@ def get_current_epoch_committee_count(state: BeaconState) -> int:
|
||||
|
||||
```python
|
||||
def get_next_epoch_committee_count(state: BeaconState) -> int:
|
||||
"""
|
||||
Return the number of committees in the next epoch of the given ``state``.
|
||||
"""
|
||||
next_active_validators = get_active_validator_indices(
|
||||
state.validator_registry,
|
||||
get_current_epoch(state) + 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user