Sending arbitrary amount to invoice with lncli #8073
-
How should an invoice be paid by lncli with an arbitrary amount? The invoice below has the amount set to '0', as it should for invoices which accept arbitrary amounts.
Alternatively, I tried setting the parameters using values from the decoded invoice, as suggested by sendpayment's '--help', but it returns 'FAILURE_REASON_NO_ROUTE'. Payments work to invoices with the payment amount set. The LND version is 'v0.17.0-beta' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Have you tried setting |
Beta Was this translation helpful? Give feedback.
-
Hi @bitromortac, thanks for the response. Here is a detailed output of the steps I took. The last payment is to a payment request (invoice) with the amount set. What do you mean by 'direct'? There is a single channel between both points, if this is what you meant.
|
Beta Was this translation helpful? Give feedback.
I could reproduce your case, the issue is that electrum refuses to accept payments to invoices with zero amounts, I think. It sends back
FAILURE_REASON_INCORRECT_PAYMENT_DETAILS
with the following electrum log lines: