fix comment

This commit is contained in:
Danny Ryan 2018-12-18 12:37:25 -06:00
parent 5943fd507f
commit f7afd679da
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -964,7 +964,7 @@ def get_attestation_participants(state: BeaconState,
```python
def get_effective_balance(state: State, index: int) -> int:
"""
Returns the effective balance (also known as "balance at stake") for a ``validator`` with the given ``validator_index``.
Returns the effective balance (also known as "balance at stake") for a ``validator`` with the given ``index``.
"""
return min(state.validator_balances[index], MAX_DEPOSIT * GWEI_PER_ETH)
```