commit b51e71a6815812238e8120e6d410764d49a728d9
parent c101379eb01bc9ff88cc7ba7d38e7a0e9e20e019
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 16 Aug 2016 10:53:26 +0200
fix: wallet.addresses
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -1254,7 +1254,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
pr.set_paid(tx.hash())
self.invoices.save()
self.payment_request = None
- refund_address = self.wallet.addresses()[0]
+ refund_address = self.wallet.get_receiving_addresses()[0]
ack_status, ack_msg = pr.send_ack(str(tx), refund_address)
if ack_status:
msg = ack_msg
@@ -2003,7 +2003,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
vbox.addLayout(Buttons(CancelButton(d), b))
private_keys = {}
- addresses = self.wallet.addresses(True)
+ addresses = self.wallet.get_addresses()
done = False
def privkeys_thread():
for addr in addresses: