Skip to content

[bug]: pendingsweeps empty after #10053

@cocktailsk

Description

@cocktailsk

Background

I had a forcelosed channel in this tx: https://mempool.space/tx/a9c786f914f9ffde990e6c1213112701dac9642694f5f3e34c5bacb2420fe435#flow=&vout=5

the last output was not swept and a after the update to 0.19.1 the lncli wallet pendingsweeps is empty
$ lncli wallet pendingsweeps

{
    "pending_sweeps": []
}

the pendingchannels still shows balance in limbo 499065

$ lncli pendingchannels

{
    "total_limbo_balance":  "499065",
    "pending_open_channels":  [
        {
            "channel":  {
                "remote_node_pub":  "02e91ff08cba7981d73dd56fbb3e9123b101c9c94aafd27a7d70094ae479ba2c18",
                "channel_point":  "4a30680c6ea4561763a4043fb29a3bd2ac24e71606628c4781397e73985290b7:2",
                "capacity":  "4546609",
                "local_balance":  "0",
                "remote_balance":  "4544544",
                "local_chan_reserve_sat":  "45466",
                "remote_chan_reserve_sat":  "45466",
                "initiator":  "INITIATOR_REMOTE",
                "commitment_type":  "ANCHORS",
                "num_forwarding_packages":  "0",
                "chan_status_flags":  "",
                "private":  false,
                "memo":  "",
                "custom_channel_data":  ""
            },
            "commit_fee":  "1405",
            "commit_weight":  "772",
            "fee_per_kw":  "1250",
            "funding_expiry_blocks":  1482
        }
    ],
    "pending_closing_channels":  [],
    "pending_force_closing_channels":  [
        {
            "channel":  {
                "remote_node_pub":  "0319117eb1ed3b90b7be6ca2e309afc61dff987154d8aa50a421fec0be51aa2b15",
                "channel_point":  "767b368ad7b047a2d39d22b2acdb831d297049b789170f6e55790ebffd08ee1a:1",
                "capacity":  "999999",
                "local_balance":  "187750",
                "remote_balance":  "11631",
                "local_chan_reserve_sat":  "0",
                "remote_chan_reserve_sat":  "0",
                "initiator":  "INITIATOR_REMOTE",
                "commitment_type":  "ANCHORS",
                "num_forwarding_packages":  "0",
                "chan_status_flags":  "",
                "private":  false,
                "memo":  "",
                "custom_channel_data":  ""
            },
            "closing_txid":  "a9c786f914f9ffde990e6c1213112701dac9642694f5f3e34c5bacb2420fe435",
            "limbo_balance":  "499065",
            "maturity_height":  0,
            "blocks_til_maturity":  0,
            "recovered_balance":  "0",
            "pending_htlcs":  [
                {
                    "incoming":  false,
                    "amount":  "499065",
                    "outpoint":  "79098bb2e7291b6eb8b37eda2d599608f2cbe664ef508ebadfa4c91d45a476af:0",
                    "maturity_height":  902529,
                    "blocks_til_maturity":  -2086,
                    "stage":  1
                }
            ],
            "anchor":  "LOST"
        }
    ],
    "waiting_close_channels":  []
}

the LND log does not show any "SWPR"
for the channel point I found this in the logs:
lightning_lnd_1 | 2025-07-08 16:40:48.048 [INF] CNCT: ChannelArbitrator(767b368ad7b047a2d39d22b2acdb831d297049b789170f6e55790ebffd08ee1a:1): skipping reading close events in state=StateWaitingFullResolution

Your environment

  • version of lnd update to 0.19.1
  • Umbrel

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions