Skip to content
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

Blockheight disagreement, not aborting - WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS #558

Open
JssDWt opened this issue Dec 21, 2024 · 1 comment

Comments

@JssDWt
Copy link
Collaborator

JssDWt commented Dec 21, 2024

node id: 03226c467e77b102a718acd72e92a65830906c6de186c7ac07cdee021d30469089
session id: 7276342403923968

time="2024-12-21T22:07:59+01:00" level=info msg="BreezSDK: [INFO] node-logs: DEBUG   plugin-pay: cmd 34 partid 8: Blockheight disagreement, not aborting." group=lightning
time="2024-12-21T22:07:59+01:00" level=info msg="BreezSDK: [INFO] node-logs: INFO    plugin-pay: cmd 34 partid 8: failed: WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS (reply from remote)" group=lightning

It appears there's a blockheight mismatch in a regular payment, where the greenlight node is behind. I believe the greenlight node uses the 'current' blockheight rather than the sync block height when sending payments? Why is this node behind?

@cdecker
Copy link
Collaborator

cdecker commented Dec 22, 2024

It does use the highest known chain length as offset. So either bitcoind is returning an old height (that'd be a new one), or we are using the correct height. Notice that the disagreement could also be on the recipient side (do you have access to verify on the recipient?) and/or the recipient could believe the invoice is expired due to clock drift or it has already been paid (which is the nice thing to do here, and not just claim multiple times).

I'll of course check the session to verify as soon as possible.

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

No branches or pull requests

2 participants