Skip to content

Break ClosureReason::CommitmentTxConfirmed Up Somewhat #1488

Closed
@TheBlueMatt

Description

@TheBlueMatt

If an HTLC times out and we close a channel from the ChannelMonitor, we currently mark the ClosureReason as CommitmentTxConfirmed, even though the commitment tx has not yet confirmed, not to mention it was us who closed the channel! From a cursory glance, the fix is trivial - just interpret (and maybe rename) MonitorEvent::CommitmentTxConfirmed to mean "we force-closed" and then we can think about adding more detail, but I think its literally always due to HTLC timeouts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions