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

Set preimage for fedimint invoices #1228

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Conversation

benthecarman
Copy link
Collaborator

@benthecarman benthecarman commented Jun 19, 2024

Fixes #1227

Was talking to @gudnuf and he was getting responses, but the preimage was not set after it was paid. It seems like for fedimints we never set the preimage for invoices we create, first commit will make sure we save it to the invoice. Needed to add the second commit so we don't overwrite the preimage on the payment actually being completed, before we'd just recreate the MutinyInvoice instead of editing the one we had persisted. I believe the 2nd commit might help fix some issues where the same invoice would show up multiple times in the activity as well

@benthecarman benthecarman added the bug Something isn't working label Jun 19, 2024
@benthecarman benthecarman requested a review from TonyGiorgio June 19, 2024 21:12
@benthecarman
Copy link
Collaborator Author

benthecarman commented Jun 19, 2024

this doesn't actually fix, looks like we overwrite when paid, still testing

works now

@TonyGiorgio TonyGiorgio merged commit 76bc85c into master Jun 21, 2024
9 checks passed
@TonyGiorgio TonyGiorgio deleted the set-preimage-fedimint branch June 21, 2024 20:52
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 this pull request may close these issues.

I don't think lookup_invoice is working
2 participants