1
0

replace wallet.all_addresses() with wallet.addresses(True)

This commit is contained in:
thomasv
2013-03-02 11:40:17 +01:00
parent e84d087a64
commit 97e03cb738
6 changed files with 23 additions and 22 deletions

View File

@@ -795,7 +795,7 @@ class MiniActuator:
def copy_address(self, receive_popup):
"""Copy the wallet addresses into the client."""
addrs = [addr for addr in self.wallet.all_addresses()
addrs = [addr for addr in self.wallet.addresses(True)
if not self.wallet.is_change(addr)]
# Select most recent addresses from gap limit
addrs = addrs[-self.wallet.gap_limit:]