commit 98f99a34a3d5fb06cd917e933983c9edf3692123
parent 26a6fa3082ccfe1336460ddc2db3e550e2a355ea
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 28 Feb 2018 09:29:58 +0100
follow up #3985
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/address_list.py b/gui/qt/address_list.py
@@ -85,7 +85,7 @@ class AddressList(MyTreeWidget):
addr_list = self.wallet.get_addresses()
self.clear()
for address in addr_list:
- num = len(self.wallet.history.get(address,[]))
+ num = len(self.wallet.get_address_history(address))
is_used = self.wallet.is_used(address)
label = self.wallet.labels.get(address, '')
c, u, x = self.wallet.get_addr_balance(address)