Skip to content

Notify peer actor when aborting a liquidity purchase - #3369

Merged
t-bast merged 1 commit into
splice-improve-pattern-matchingfrom
splice-improve-pattern-matching-fd
Aug 26, 2026
Merged

Notify peer actor when aborting a liquidity purchase#3369
t-bast merged 1 commit into
splice-improve-pattern-matchingfrom
splice-improve-pattern-matching-fd

Conversation

@sstone

@sstone sstone commented Aug 26, 2026

Copy link
Copy Markdown
Member

When we were selling liquidity and abort the funding attempt after telling our peer actor that the purchase was signed, we must send it a LiquidityPurchaseAborted event. Otherwise the payment stays in the Funded state, pointing at a funding transaction that will never exist: we hold the upstream HTLCs until they expire, at which point we force-close a channel that we aborted the splice on ourselves.

When we were selling liquidity and abort the funding attempt after telling
our peer actor that the purchase was signed, we must send it a
LiquidityPurchaseAborted event. Otherwise the payment stays in the Funded
state, pointing at a funding transaction that will never exist: we hold the
upstream HTLCs until they expire, at which point we force-close a channel
that we aborted the splice on ourselves.
@sstone
sstone requested a review from t-bast August 26, 2026 10:37
@t-bast
t-bast merged commit 46583e5 into splice-improve-pattern-matching Aug 26, 2026
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.

2 participants