fix get_balance

This commit is contained in:
thomasv 2011-12-16 12:55:38 +01:00
parent 12e19d3408
commit b03028956b
1 changed files with 1 additions and 1 deletions

View File

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