reverted some unnecessary optimization

This commit is contained in:
Radu Ioan Fericean
2013-12-04 12:12:24 +02:00
parent 51379946d9
commit e6ae067db1

View File

@@ -59,7 +59,7 @@ func (uc *UnitsCounter) GetGeneralBalance() *Balance {
func (uc *UnitsCounter) addUnits(amount float64, prefix string) {
counted := false
if prefix != "" {
for _, mb := range uc.Balances[1:] { // skip the general balance
for _, mb := range uc.Balances {
if !mb.HasDestination() {
continue
}