mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 16:45:01 -05:00
Update 0_beacon-chain.md
This commit is contained in:
@@ -1063,7 +1063,7 @@ def get_effective_balance(state: State, index: ValidatorIndex) -> Gwei:
|
||||
```python
|
||||
def get_total_balance(state: BeaconState, validators: List[ValidatorIndex]) -> Gwei:
|
||||
"""
|
||||
Return the combined effective balance of an array of validators.
|
||||
Return the combined effective balance of an array of ``validators``.
|
||||
"""
|
||||
return sum([get_effective_balance(state, i) for i in validators])
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user