mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
commit
ecad0212e8
@ -1049,7 +1049,7 @@ def get_total_balance(state: BeaconState, validators: List[ValidatorIndex]) -> G
|
|||||||
"""
|
"""
|
||||||
Return the combined effective balance of an array of validators.
|
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`
|
### `get_fork_version`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user