remove get_committee_count

This commit is contained in:
Danny Ryan 2019-10-12 13:36:05 +09:00
parent b3a0a03f85
commit 5ccac7c206
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A

View File

@ -81,7 +81,6 @@
- [`get_active_validator_indices`](#get_active_validator_indices)
- [`get_validator_churn_limit`](#get_validator_churn_limit)
- [`get_seed`](#get_seed)
- [`get_committee_count`](#get_committee_count)
- [`get_crosslink_committee`](#get_crosslink_committee)
- [`get_beacon_proposer_index`](#get_beacon_proposer_index)
- [`get_total_balance`](#get_total_balance)
@ -859,16 +858,6 @@ def get_seed(state: BeaconState, epoch: Epoch, domain_type: DomainType) -> Hash:
return hash(domain_type + int_to_bytes(epoch, length=8) + mix)
```
#### `get_committee_count`
```python
def get_committee_count(state: BeaconState, epoch: Epoch) -> uint64:
"""
Return the number of committees at ``epoch``.
"""
return COMMITTEES_PER_SLOT
```
#### `get_crosslink_committee`
```python