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

fix(core): record correct pubkey for ln payments #4428

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

vindard
Copy link
Contributor

@vindard vindard commented May 6, 2024

Description

There is a bug where we optimistically assign the default lnd's pubkey to payment entries and we don't change this after it's initially set. This led to the problem where we couldn't update a payment if the pubkey we were looking up for it was false (temporarily mitigated in #4420).

This PR is to be more deliberate with recording/updating the actual pubkey that is used to send a payment as it happens thoughout the send flow.

@github-actions github-actions bot added the core label May 6, 2024
@vindard vindard force-pushed the fix-pubkey-on-payment branch 3 times, most recently from e034099 to 344805c Compare May 6, 2024 16:32
@vindard vindard marked this pull request as ready for review May 6, 2024 19:06
@vindard vindard force-pushed the fix-pubkey-on-payment branch from 344805c to fdcfeb4 Compare May 6, 2024 19:20
@vindard vindard force-pushed the fix-pubkey-on-payment branch from fdcfeb4 to 6513270 Compare May 7, 2024 12:59
@vindard vindard requested a review from dolcalmi May 7, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant