Skip to content

fix: use InvoicePaid state to mark swap in success#1674

Merged
rolznz merged 1 commit into
masterfrom
fix/swap-in-pending
Sep 1, 2025
Merged

fix: use InvoicePaid state to mark swap in success#1674
rolznz merged 1 commit into
masterfrom
fix/swap-in-pending

Conversation

@im-adithya
Copy link
Copy Markdown
Member

Fixes #1669

We used to wait for TransactionClaimed state before which is sent when Boltz successfully claims the bitcoin onchain. I think the best thing to do is to listen on InvoicePaid state as that would be in sync with the Hub's state (in transactions list)

@im-adithya im-adithya requested a review from rolznz September 1, 2025 12:10
Copy link
Copy Markdown
Member

@rolznz rolznz left a comment

Choose a reason for hiding this comment

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

utACK

@rolznz rolznz merged commit 20eddc3 into master Sep 1, 2025
7 of 11 checks passed
@rolznz rolznz deleted the fix/swap-in-pending branch September 1, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swap in is stuck "Waiting for confirmation" even after sats are received via lightning

2 participants