commit 29aaa1c4c4543519a26c625ddd336f2f6364989a
parent 557b2c189654975019468a2af8e41edab9a07bb2
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 6 Sep 2017 12:12:04 +0200
fix #2840
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -879,7 +879,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.show_error(_('No message or amount'))
return False
i = self.expires_combo.currentIndex()
- expiration = map(lambda x: x[1], expiration_values)[i]
+ expiration = list(map(lambda x: x[1], expiration_values))[i]
req = self.wallet.make_payment_request(addr, amount, message, expiration)
self.wallet.add_payment_request(req, self.config)
self.sign_payment_request(addr)