I was excited to see the new release of lightning-app 0.1.4 a few days ago. I didn't want to waste my tBTC so I set about closing my active channels, as all of my approximately 2.0 tBTC were in channels at the time.
This was easier said than done. Every time I tried to close a channel from the GUI, the channel would say "closing" briefly, then revert to "open". I started digging through the logs and I found several errors that said something along the lines of
unable to find channel_id=bla bla bla.
moli in the lightning-app slack channel suggested I use
--force (side note: slack sucks; IRC FTW). At first this was a bit confusing because
lncli closechannel expects the funding transaction ID, while I was used to using the
CID value from the desktop app to identify channels.
It turns out that the
funding_txid corresponds to the
tx_hash from the
listchaintxns command. I tried forcing several channels to close, but
lncli kept either:
- Telling me that the channel did not exist
- Hanging for hours at a time until hit
I gave up and went home.
The next day I fired everything up and tried again. I have no idea why, but this time when I tried to force a channel closed which had previously resulted in an indefinite hang, it worked! I got a transaction ID for the closing transaction. When I checked the GUI, the coins were no longer in channels, but now "in limbo".