fix State -> BeaconState

This commit is contained in:
vbuterin 2019-03-03 22:41:23 -06:00 committed by GitHub
parent 1444687798
commit 044c87fe39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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