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

Emit SpliceFailed event during channel shutdown

Public commit record

What the developer wrote

Authored by Jeffrey Czyz

68/100 · Adequate
Emit SpliceFailed event during channel shutdown

When a channel has a pending splice and is shutdown, generate a
SpliceFailed event when necessary. This allows users to reclaim any
contributed UTXOs.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This change fixes a bookkeeping gap in the Lightning Dev Kit: when a channel is shut down while a splice (a special Bitcoin transaction that changes a channel's funding) is still pending, the library now emits a 'SpliceFailed' event. That event tells the wallet/user which coins they contributed to the splice so they can spend them again. Before this fix, those contributed inputs could be silently forgotten, potentially locking up funds until the user manually figured out what happened. It is a reliability/availability fix for user funds, not a remote-exploitable vulnerability.

Recommended action

Treat as a recommended reliability fix. Users running nodes that use splicing should upgrade to avoid losing track of splice-contributed UTXOs on forced or cooperative channel close. No immediate emergency response is warranted because the issue is local-availability, not remote code execution or theft.

Security signals we found

01

Funds-availability issue: pending splice UTXOs could be left unrecoverable after shutdown

02

New event emission (Event::SpliceFailed) to expose previously silent failure path

03

State cleanup in force_shutdown for QuiescentAction::Splice

04

Test coverage added for both interactive-tx and STFU-handshake splice failure paths

Risk score

Why this scored 33/100

Our methodology →
Potential impact 8/30
Exploitability 3/25
Stealth signal 4/15
Affected reach 6/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.