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

Bug: second payment to CLN offer fails #116

Closed
orbitalturtle opened this issue Jun 10, 2024 · 1 comment · Fixed by #133
Closed

Bug: second payment to CLN offer fails #116

orbitalturtle opened this issue Jun 10, 2024 · 1 comment · Fixed by #133
Assignees
Labels
bug Something isn't working
Milestone

Comments

@orbitalturtle
Copy link
Collaborator

Describe the bug

When trying to pay a CLN offer twice, CLN sends us the same invoice for the second payment, causing LND to error. The solution is likely that we're using the same key to sign each invoice request, but we should use a new one each time:

let pubkey_bytes = signer

Thanks to @jkczyz for figuring out what was going on here!

@orbitalturtle orbitalturtle added the bug Something isn't working label Jun 10, 2024
@orbitalturtle orbitalturtle self-assigned this Jun 18, 2024
@orbitalturtle
Copy link
Collaborator Author

I have a local branch working that fixes this. I just need to push it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant