Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Danny Ryan
2018-12-17 09:08:13 -05:00
committed by GitHub
parent 737c7bc1fa
commit e9f986971e

View File

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