@@ -313,11 +313,11 @@ class SendScreen(CScreen, Logger):
|
|||||||
self.app.show_error(_('Invalid Bitcoin Address') + ':\n' + address)
|
self.app.show_error(_('Invalid Bitcoin Address') + ':\n' + address)
|
||||||
return
|
return
|
||||||
outputs = [PartialTxOutput.from_address_and_value(address, amount)]
|
outputs = [PartialTxOutput.from_address_and_value(address, amount)]
|
||||||
return self.app.wallet.create_invoice(
|
return self.app.wallet.create_invoice(
|
||||||
outputs=outputs,
|
outputs=outputs,
|
||||||
message=message,
|
message=message,
|
||||||
pr=self.payment_request,
|
pr=self.payment_request,
|
||||||
URI=self.parsed_URI)
|
URI=self.parsed_URI)
|
||||||
except InvoiceError as e:
|
except InvoiceError as e:
|
||||||
self.app.show_error(_('Error creating payment') + ':\n' + str(e))
|
self.app.show_error(_('Error creating payment') + ':\n' + str(e))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user