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

Show in-flight fedimint sends #1059

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

alpeb-btc
Copy link
Contributor

Fixes #1022

Right after the payment has initiated successfully, and before persisting the invoice, set its status to InFlight, so it doesn't get filtered out in the activity list.

image

Fixes MutinyWallet#1022

Right after the payment has initiated successfully, and before
persisting the invoice, set its status to InFlight, so it doesn't get
filtered out in the activity list.
Copy link
Collaborator

@benthecarman benthecarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@@ -560,6 +560,7 @@ impl<S: MutinyStorage> FederationClient<S> {
let mut stored_payment: MutinyInvoice = invoice.clone().into();
stored_payment.inbound = inbound;
stored_payment.labels = labels;
stored_payment.status = HTLCStatus::InFlight;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch. Though we don't typically use InFlight much, just wondering if it was Pending before and was being filtered out for whatever reason, or really why InFlight is used at all.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending is what we use for invoices we create that are unpaid

@benthecarman benthecarman added the bug Something isn't working label Mar 8, 2024
@benthecarman benthecarman merged commit 5692c67 into MutinyWallet:master Mar 9, 2024
9 checks passed
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.

Fedimint sends are not showing up as pending in UI
3 participants