-
Notifications
You must be signed in to change notification settings - Fork 29
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
Comments
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. |
Looking into this a bit more I can see the following:
@nepet do you know what might be going on here? It seems like the trampoline code is delegating to |
@cdecker I think this is the fallback payment. If a trampoline payment fails, the Breez SDK will fall back to regular payment. |
Ok, that makes sense, but why are we getting the call, not logging anything, and falling back on As for the original error, we were in sync with the blockchain, according to block |
Looking at this code it seems that the block height reported by the recipient is ahead:
It could still be an issue at the recipient where they return a too high blockheight, but it seems likelier that start_block is low somehow. |
I think the Without further information, all I can say is that we were up-to-date, so blockheight disagreement must've been on the recipient, or it was any other cause. |
The function has to return I agree it needs recipient information. I reached out to galoy, asking their insights on whether they're customizing the block height there. |
node id:
03226c467e77b102a718acd72e92a65830906c6de186c7ac07cdee021d30469089
session id: 7276342403923968
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?
The text was updated successfully, but these errors were encountered: