fix: display imported addresses too

This commit is contained in:
thomasv 2011-12-21 18:10:21 +01:00
parent 2db7b159e3
commit c8ddf49833
1 changed files with 4 additions and 5 deletions

View File

@ -921,14 +921,13 @@ class BitcoinGUI:
def update_receiving_tab(self):
self.recv_list.clear()
for address in self.wallet.addresses:
for address in self.wallet.all_addresses():
if self.wallet.is_change(address):continue
label = self.wallet.labels.get(address)
n = 0
h = self.wallet.history.get(address)
if h:
for item in h:
if not item['is_in'] : n=n+1
h = self.wallet.history.get(address,[])
for item in h:
if not item['is_in'] : n=n+1
tx = "None" if n==0 else "%d"%n
self.recv_list.append((address, label, tx ))