mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 17:35:03 -05:00
fix State -> BeaconState
This commit is contained in:
@@ -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``.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user