mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 09:54:55 -05:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
@@ -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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user