diff --git a/lib/wallet.py b/lib/wallet.py index 705bf4127..ba0da0a7b 100644 --- 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):