diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 788876689..cc78c8b71 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1049,7 +1049,7 @@ def get_total_balance(state: BeaconState, validators: List[ValidatorIndex]) -> G """ Return the combined effective balance of an array of validators. """ - sum([get_effective_balance(state, i) for i in validators]) + return sum([get_effective_balance(state, i) for i in validators]) ``` ### `get_fork_version`