Fix typo in `get_committee_indices`

This commit is contained in:
rkapka 2024-05-02 16:54:17 +09:00
parent c2544435f4
commit c4e8dc23f4
1 changed files with 2 additions and 2 deletions

View File

@ -514,8 +514,8 @@ def is_partially_withdrawable_validator(validator: Validator, balance: Gwei) ->
#### `get_committee_indices` #### `get_committee_indices`
```python ```python
def get_committee_indices(commitee_bits: Bitvector) -> Sequence[CommitteeIndex]: def get_committee_indices(committee_bits: Bitvector) -> Sequence[CommitteeIndex]:
return [CommitteeIndex(index) for index, bit in enumerate(commitee_bits) if bit] return [CommitteeIndex(index) for index, bit in enumerate(committee_bits) if bit]
``` ```
#### `get_validator_max_effective_balance` #### `get_validator_max_effective_balance`