fix State -> BeaconState
This commit is contained in:
parent
1444687798
commit
044c87fe39
|
@ -1055,7 +1055,7 @@ def bytes_to_int(data: bytes) -> int:
|
|||
### `get_effective_balance`
|
||||
|
||||
```python
|
||||
def get_effective_balance(state: State, index: ValidatorIndex) -> Gwei:
|
||||
def get_effective_balance(state: BeaconState, index: ValidatorIndex) -> Gwei:
|
||||
"""
|
||||
Return the effective balance (also known as "balance at stake") for a validator with the given ``index``.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue