lnd: Force closed channel stuck in pending channels forever
Background
I have a force closed channel on pending channels for more than 1 month by now. This is what it looks like when calling for pendingchannels, take a look at blocks_til_maturity: -1175.
The channel was with another node I own and that node pendingchannels doesn’t show anything, also the closing tx was confirmed normally…
Can’t say if the funding channel amount was returned since I was not aware of this issue after a long time, but listchaintxns shows no tx with that amount nor block height.
Other force closed channels actually don’t get stuck on pendingchannels after reaching the maturity block but not this one.
"pending_force_closing_channels": [
{
"channel": {
"remote_node_pub": "0292e8060da527f77be1db34a2a9f0b0baf158094e7424970806d5c9f90f4db312",
"channel_point": "253e3d087561b14fb36faba68e674a71de2d68114f9dfe463a71e0b7b0c7f555:0",
"capacity": "70143",
"local_balance": "68876",
"remote_balance": "0"
},
"closing_txid": "89efef5cc0e2b2e7d9f430ca970bef66ea031b359f986e7e14d71c0d2b1ebb75",
"limbo_balance": "68876",
"maturity_height": 530840,
"blocks_til_maturity": -1175,
"recovered_balance": "0",
"pending_htlcs": [
]
}
],
Your environment
- version of
lnd
: “version”: “0.4.2-beta commit=b0288d46773ac6d45e5dc4d5e6a80dd3034d0b9f” - version of
btcd
: version 0.12.0-beta
I attach the log after restarting the node (which I’ve done several times).
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 28 (19 by maintainers)
@Roasbeef Any workaround how to unstuck my 0.16 BTC? Closing tx has already thousands of confirmation, but I don’t know how fix it.
I’m affected by this, too. Have one pending channel with “-1371” blocks_til_maturity.
However, I remember this happen in times of misconfiguration of my node, when lnd probably got skipped some block updates. So the cause is most likely fixed already, but the channel is still pending and funds locked in limbo. Closing tx has already over 1000 confirmations, but my
lncli listchaintxns
doesn’t see such tx.any progress on this? :S