-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"WIRE_INCORRECT_PAYMENT_AMOUNT (reply from remote)" payment failure #1309
Comments
Your version postdates #1257, which adds the feature that we overpay slightly (within the The spec specifically allows this overpayment; perhaps yalls does not? Is there anyone who knows who yalls is and who runs it, and what implementation it uses? Try (we could add an override to disable overpayment though, for compatibility with noncompliant payees, but note that this reduces your privacy)
One has you as source, the other has you as destination. The Lightning forwarding rates are different and are applied by each source. Notice how the channel has two different |
Proposed quickfix on our side is:
So by default we will overpay. If the user allows the payee to reject overpay, we try to overpay, then pay exact amount if we get
|
I'm getting this as well on "version" : "v0.5.2-2016-11-21-2448-ge41d565" with a yalls.org payment
|
It seems |
Reported as cdecker/lightning-integration#15 |
Thanks for the quick response guys! Glad that this was a useful bug report. Let me know if there's any more info you need from me. |
@leishman, I answered that question already:
|
I have the same issue (WIRE_INCORRECT_PAYMENT_AMOUNT) with both Yalls and Coinpanic.com and with both I have a direct channel (http://channels.bight.nl). Yalls payments used to work flawlessly. EDIT: I've put maxoverpayment=0; in lightnings/payalgo.c and recompiled and things are working again as is obvious from the non-zero balances for yalls and coinpanic.com (http://channels.bight.nl). Forwarded payments to https://lnmainnet.gaben.win/ are also working again :-) |
It is a spec non-compliance by lnd, so I am not very motivated to add code to suppress overpayment in c-lightning (more code, is more liability). An issue is that lnd is now officially in beta and presumably mainnet nodes will upgrade only if lnd makes a new release. Hopefully lnd next release that fixes spec non-compliance occurs quickly. |
@ZmnSCPxj I think the fix is already in the most recent release lightningnetwork/lnd@5984cbd |
Yep, |
Issue and Steps to Reproduce
I am unable to pay an invoice to a peer I have a direct channel with because I am getting a
WIRE_INCORRECT_PAYMENT_AMOUNT (reply from remote)
failure when I attempt to pay. I am running a mainnet lightningd node. I have a single funded channel setup with mainnet.yalls.org. Here are the details:This isn't my main issue, but i'm not sure why there are two channel entries here?
I tried paying an invoice to mainnet.yalls.org:
The response I got when I attempted to pay was:
I do not know if this is an issue with yalls node or my own, but I wanted to report it because it seemed like unexpected behavior. From what I can tell this error should only trigger if I'm underpaying or grossly overpaying. I don't know why the
pay
command would do either. Thanks!getinfo
outputThe text was updated successfully, but these errors were encountered: