AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 25 Bitcoin

Emit SpliceFailed event when tx_abort is received

Public commit record

What the developer wrote

Authored by Jeffrey Czyz

68/100 · Adequate
Emit SpliceFailed event when tx_abort is received

When a tx_abort message is successfully processed for a funded channel
with an active splice negotiation, emit Event::SpliceFailed to notify
users that the splice operation was aborted by the counterparty.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a missing notification in the Lightning Dev Kit. When a splice operation (a way to resize a Lightning channel) is cancelled by the other party via a tx_abort message, LDK now emits a SpliceFailed event so the user knows what happened and can reclaim any funds they contributed. Previously, the abort was handled silently, which could leave users unaware that their contributed inputs/outputs were no longer tied to a pending splice.

Recommended action

Treat as a normal functional/UX fix. Reviewers should verify that SpliceFundingFailed is only produced when a funded channel has a pending splice with active funding negotiation, and that the new event is emitted exactly once per abort. No immediate security response is indicated.

Security signals we found

01

Missing event emission on protocol abort could cause users to believe a splice is still pending, leading to incorrect wallet/accounting decisions

02

New event carries sensitive splice metadata (funding txo, contributed inputs/outputs) that callers must handle appropriately

03

Persistence logic changed to DoPersist when a SpliceFailed event is generated, ensuring state is saved before user is notified

Risk score

Why this scored 25/100

Our methodology →
Potential impact 4/30
Exploitability 2/25
Stealth signal 3/15
Affected reach 4/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.