Skip to content

fix: block on payment hash when marking transaction as settled#1878

Merged
rolznz merged 2 commits intomasterfrom
fix/duplicate-transaction-settled-event
Nov 5, 2025
Merged

fix: block on payment hash when marking transaction as settled#1878
rolznz merged 2 commits intomasterfrom
fix/duplicate-transaction-settled-event

Conversation

@rolznz
Copy link
Copy Markdown
Contributor

@rolznz rolznz commented Oct 29, 2025

Fixes #1874

@rolznz rolznz requested a review from im-adithya October 29, 2025 18:55
@im-adithya
Copy link
Copy Markdown
Member

I couldn't test this as I was still getting single notification on postgres, did you get to reproduce it locally?

@rolznz
Copy link
Copy Markdown
Contributor Author

rolznz commented Nov 5, 2025

@im-adithya it's hard to reproduce locally as you need to introduce artificial delay in the postgres connection. It's strange you do not get two notifications. How did you test it and which wallet did you pay to?

I've tested this by doing a payment to my Blink wallet (2 notifications) then immediately updating my cloud hub to this specific commit and doing another payment to my Blink wallet (I only get 1 notification now)

@rolznz rolznz merged commit a212bee into master Nov 5, 2025
11 checks passed
@rolznz rolznz deleted the fix/duplicate-transaction-settled-event branch November 5, 2025 10:47
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.

Bug: Duplicate nwc_payment_sent notification fired for the same payment

2 participants