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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ def get_attestation_participants(state: BeaconState,
```python ```python
def get_effective_balance(balance: int) -> int: 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) return min(balance, MAX_DEPOSIT * GWEI_PER_ETH)
``` ```