Skip to content

Can't mutual close with pending HTLC #6039

@thomash-acinq

Description

@thomash-acinq

Background

When trying to close a channel with a lnd node, the node returned the error cannot co-op close channel w/ active htlcs

Steps to reproduce

Open a channel to a lnd node, add a HTLC , send a shutdown message.

Expected behaviour

The node should wait for the HTLC to be resolved, not add any new HTLC, and then reply with a shutdown message.
BOLT 2: Channel Close

Actual behaviour

The lnd node returns an error: cannot co-op close channel w/ active htlcs

Metadata

Metadata

Assignees

Labels

P1MUST be fixed or reviewedbugUnintended code behaviourchannel closingRelated to the closing of channels cooperatively and uncooperativelyspec

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions