Merge pull request #3740 from rkapka/get-committee-indices-typo
EIP-7549: Fix typo in `get_committee_indices`
This commit is contained in:
commit
e0ee2808d8
|
@ -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