1
0

kivy: fix paying bip70 invoices

this is a regression from #7234
This commit is contained in:
SomberNight
2021-06-19 14:57:15 +02:00
parent 086c1397af
commit 90579ccfea

View File

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