Skip to content

Commit

Permalink
Merge pull request #715 from terenc3t/patch-53
Browse files Browse the repository at this point in the history
Update get_total_balance comment
  • Loading branch information
djrtwo authored Mar 4, 2019
2 parents cc14647 + e2ce0d9 commit 5ac8b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])
```
Expand Down

0 comments on commit 5ac8b1e

Please sign in to comment.