From 90579ccfea13570e053f0d482f9757c9397ea906 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 19 Jun 2021 14:57:15 +0200 Subject: [PATCH] kivy: fix paying bip70 invoices this is a regression from #7234 --- electrum/gui/kivy/uix/screens.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py index 5430b6b9d..f3dbb3612 100644 --- a/electrum/gui/kivy/uix/screens.py +++ b/electrum/gui/kivy/uix/screens.py @@ -313,11 +313,11 @@ class SendScreen(CScreen, Logger): self.app.show_error(_('Invalid Bitcoin Address') + ':\n' + address) return outputs = [PartialTxOutput.from_address_and_value(address, amount)] - return self.app.wallet.create_invoice( - outputs=outputs, - message=message, - pr=self.payment_request, - URI=self.parsed_URI) + return self.app.wallet.create_invoice( + outputs=outputs, + message=message, + pr=self.payment_request, + URI=self.parsed_URI) except InvoiceError as e: self.app.show_error(_('Error creating payment') + ':\n' + str(e))