commit 20ed54c22b17eedde1d557ec89e54d2718a56347
parent e1515743cdc52a068798b86ef4529def2b802ad8
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 12 Feb 2017 10:18:53 +0100
Merge pull request #2162 from shsmith/master
fix AttributeError: 'Standard_Wallet' object has no attribute 'account'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1459,7 +1459,7 @@ class Deterministic_Wallet(Abstract_Wallet):
# fixme: this assumes wallet is synchronized
n = 0
nmax = 0
- addresses = self.account.get_receiving_addresses()
+ addresses = self.get_receiving_addresses()
k = self.num_unused_trailing_addresses(addresses)
for a in addresses[0:-k]:
if self.history.get(a):