Skip to content

Sending arbitrary amount to invoice with lncli #8073

Discussion options

You must be logged in to vote

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:

3773.04 | I | P/lnpeer.Peer.[LNWallet, 02a5a03c88-01b209dd] | maybe_fulfill_htlc. will FAIL HTLC: chan 150x1x1. total_msat=100000 too different from invoice_msat=0. htlc=UpdateAddHtlc(amount_msat=100000, payment_hash=ca2257e09340560844d26772724ecdc612559fd24182426bc0f0dd1493745fd6, cltv_expiry=302, timestamp=1698071485, htlc_id=3). onion_payload={'amt_to_forward': {'amt_to_forward': 100000}, 'outgoing_cltv_value': {'outgoing_cltv_value': 302}, 'payment_data': {'payment_secret…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@slack-coder
Comment options

@slack-coder
Comment options

@bitromortac
Comment options

@bitromortac
Comment options

Answer selected by slack-coder
@slack-coder
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants