mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-27 09:40:36 +00:00
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…
x
Reference in New Issue
Block a user