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

Catch close commands in `Offline(WaitForDualFundingSigned)` (#3159)

Public commit record

What the developer wrote

Authored by pm47

85/100 · Strong
Catch close commands in `Offline(WaitForDualFundingSigned)` (#3159)

They were previously ignored because we don't yet have a commitment.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This patch fixes a state-handling bug in Eclair, a Bitcoin Lightning Network node implementation. When a new dual-funded channel was stuck waiting for both parties to sign, and the node went offline, a force-close command was silently ignored. The fix makes the node properly abort the channel and roll back the funding transaction attempt, preventing funds from being left in limbo.

Recommended action

Reviewers should confirm that `rollbackFundingAttempt` is safe to call from the Offline state and that no race exists with a concurrent reconnection or signature arrival. Operators should update to include this patch if running dual-funding channels.

Security signals we found

01

State machine missing handler for force-close command in offline dual-funding state

02

Funds could be left in a non-closable, non-finalized channel state

03

Patch adds rollback of unconfirmed funding transaction before fast close

04

Test coverage added for offline force-close during WaitForDualFundingSigned

Risk score

Why this scored 43/100

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