1
0

message about frozen funds

This commit is contained in:
thomasv
2013-04-12 14:29:11 +02:00
parent 6e10687abe
commit 6585da69fe
2 changed files with 11 additions and 0 deletions

View File

@@ -521,6 +521,15 @@ class Wallet:
unconf += u
return conf, unconf
def get_frozen_balance(self):
conf = unconf = 0
for addr in self.frozen_addresses:
c, u = self.get_addr_balance(addr)
conf += c
unconf += u
return conf, unconf
def get_balance(self):
cc = uu = 0
for a in self.accounts.keys():