fix get_balance

This commit is contained in:
thomasv 2011-12-16 12:55:38 +01:00
parent 12e19d3408
commit b03028956b

View file

@ -469,7 +469,7 @@ See the release notes for more information.""",1)
def get_balance(self): def get_balance(self):
conf = unconf = 0 conf = unconf = 0
for addr in self.addresses: for addr in self.all_addresses():
c, u = self.get_addr_balance(addr) c, u = self.get_addr_balance(addr)
conf += c conf += c
unconf += u unconf += u