func (s *State) GetTotalBalance(activeValidators []uint32, c *config.Config) uint64 {
	balance := uint64(0)
	for _, i := range activeValidators {
		balance += s.GetEffectiveBalance(i, c)
	}
	return balance
}
// GetTotalBalance gets the total balance of the provided validator indices.
GetTotalBalance gets the total balance of the provided validator indices.
// GetTotalBalance gets the total balance of the provided validator indices .
func (s *State) GetTotalBalance(activeValidators []uint32, c *config.Config) uint64 {
	balance := uint64(0)
	for _, i := range activeValidators {
		balance += s.GetEffectiveBalance(i, c)
	}
	return balance
}
func ( s * State ) GetTotalBalance ( activeValidators [ ] uint32 , c * config . Config ) uint64 { balance := uint64 ( 0 ) for _ , i := range activeValidators { balance += s . GetEffectiveBalance ( i , c ) } return balance }
GetTotalBalance gets the total balance of the provided validator indices.
GetTotalBalance gets the total balance of the provided validator indices .