Skip to content

[bug]: force close transactions disappeared #7586

@yaslama

Description

@yaslama

Background

Our node force closed a channel but it seems that the fees were too low and the commitment type is STATIC_REMOTE_KEY, so we need to wait for the transaction to be confirmed. The problem is that after a while, the transaction disappears from listchaintxns and is not re-broadcasted.
When I try to force close again the channel, I obtain the error: "channel is already in the process of being force closed".

Your environment

  • version of lnd: 0.15.4
  • which operating system (uname -a on *Nix): linux
  • version of btcd, bitcoind, or other backend: bitcoind 22.0
  • any other relevant environment details

Steps to reproduce

Force close a channel which was created without anchors and when the fees were very low. Wait for a while.
Check that the channel appears in lncli pendingchannels | jq '.waiting_close_channels'
Check that when trying to close it again, the following error is returned: channel is already in the process of being force closed
Check if lncli listchaintxns contains the closing tx

Expected behaviour

The closing tx has to stay in the listchaintxns and be broadcasted periodically.

Actual behaviour

lncli listchaintxns doesn't contain the closing tx

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1MUST be fixed or reviewedbugUnintended code behaviourforce closeswalletThe wallet (lnwallet) which LND uses

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions