fix comment

This commit is contained in:
Danny Ryan
2018-12-18 12:37:25 -06:00
parent 5943fd507f
commit f7afd679da

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)
```