Merge pull request #3740 from rkapka/get-committee-indices-typo

EIP-7549: Fix typo in `get_committee_indices`
This commit is contained in:
Mikhail Kalinin 2024-05-02 17:48:42 +06:00 committed by GitHub
commit e0ee2808d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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`