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