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

Add swap.refunded final swap state for normal swaps #383

Open
kilrau opened this issue Sep 18, 2023 · 0 comments
Open

Add swap.refunded final swap state for normal swaps #383

kilrau opened this issue Sep 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request P2

Comments

@kilrau
Copy link
Member

kilrau commented Sep 18, 2023

Currently backend is unaware of refunds of normal swaps. It'd be nice to globally know which swaps were refunded by adding a swap.refunded final state for refundable normal swaps, meaning after invoice.failedToPay and also swap.expired. That would let web app query the state for features like below instead of saving this info locally which is error prone.

image

@kilrau kilrau added enhancement New feature or request P2 labels Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
None yet
Development

No branches or pull requests

2 participants