fix State -> BeaconState

This commit is contained in:
vbuterin
2019-03-03 22:41:23 -06:00
committed by GitHub
parent 1444687798
commit 044c87fe39

View File

@@ -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``.
"""