Browse Source

kivy: fix paying bip70 invoices

this is a regression from #7234
patch-4
SomberNight 4 years ago
parent
commit
90579ccfea
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 10
      electrum/gui/kivy/uix/screens.py

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

Loading…
Cancel
Save