Skip to content

Pending channel with negative blocks_til_maturity #1610

@vpecinka

Description

@vpecinka

Background

I cannot get rid of forced closed channel (from the other party). There is negative number in block_til_maturity and satoshis are in limbo. The channel was created originaly from my side with 100.000 sat, no transaction was made on it.

Your environment

Actual behaviour

$ lncli pendingchannels
{
    "total_limbo_balance": "33273",
    "pending_open_channels": [
    ],
    "pending_closing_channels": [
    ],
    "pending_force_closing_channels": [
        {
            "channel": {
                "remote_node_pub": "02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a8852a8b637",
                "channel_point": "73c6e4f0b9cc1703ae7db6510fc7f665d11a537c65e590b848a671a7fcd8dba7:0",
                "capacity": "100000",
                "local_balance": "64778",
                "remote_balance": "0"
            },
            "closing_txid": "60ccda7151a4131abdc28c693342f48f0ecea667bbc56c8388f739cf2b26105b",
            "limbo_balance": "33273",
            "maturity_height": 533272,
            "blocks_til_maturity": -29,
            "recovered_balance": "64778",
            "pending_htlcs": [
                {
                    "incoming": false,
                    "amount": "33273",
                    "outpoint": "6e6c6a744d6bbee760152751cfd2f1d89712f577434fd3720ce9b4941ed278cd:0",
                    "maturity_height": 533282,
                    "blocks_til_maturity": -19,
                    "stage": 2
                }
            ]
        }
    ],
    "waiting_close_channels": [
    ]
}

Metadata

Metadata

Assignees

Labels

P2should be fixed if one has timeutxo sweeping

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions