*generic balance used by all tors

fixes #250
This commit is contained in:
Radu Ioan Fericean
2015-10-30 17:03:54 +02:00
parent 362c6fa7c6
commit 88137b75db
7 changed files with 136 additions and 32 deletions

View File

@@ -103,7 +103,7 @@ func (sg *SharedGroup) GetBalances(destination, category, direction, balanceType
}
}
//sg.members = append(sg.members, nUb)
sb := nUb.getBalancesForPrefix(destination, category, direction, nUb.BalanceMap[balanceType], sg.Id)
sb := nUb.getBalancesForPrefix(destination, category, direction, balanceType, sg.Id)
bc = append(bc, sb...)
}
/* } else {