Fix typo in `get_committee_indices`
This commit is contained in:
parent
c2544435f4
commit
c4e8dc23f4
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue