Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

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
Copy link
Collaborator Author

benthecarman commented Jun 19, 2024

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

works now

@AnthonyRonning AnthonyRonning merged commit 76bc85c into master Jun 21, 2024
9 checks passed
@AnthonyRonning AnthonyRonning deleted the set-preimage-fedimint branch June 21, 2024 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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