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))