lightningnetwork / lnd

Lightning Network Daemon ⚡️
MIT License
7.64k stars 2.07k forks source link

Cannot force close a pending channel #7313

Open phaus opened 1 year ago

phaus commented 1 year ago

Background

I have the same issue as in #6173 The Channel is in the state ChanStatusLocalDataLoss|ChanStatusRestored, I would like to close it, since the owner of the other side contacted me, that he had a crashed node. Can I get somehow rid of that channel?

A Force close does not seem to work for that channel state:

/ $ lncli closechannel --force 173840007347101805ad93248dca2fccd591c3af86ed8ac7aac60738a254ca11 1 [lncli] rpc error: code = Unknown desc = cannot close channel with state: ChanStatusLocalDataLoss|ChanStatusRestored

Your environment

sputn1ck commented 1 year ago

ChanStatusLocalDataLoss would indicate that you have also lost the channel state for this channel. Did you experience any power outage? I would suggest looking into the steps provided here https://github.com/lightningnetwork/lnd/issues/7185#issuecomment-1321812101 .