Force close LND channel but money did not go into wallet

hey @DrWalrus @aman23,

I was in the same situation as you, I had just aezeed lnd seed with all the balance in 1 channel. After my request, remote node force-closed that channel, but the funds weren’t returned or foundable in any wallet I have tested (blixt, sparrow, bluewallet…), even though tx had 2000 confirmations. After some research, I discovered that funds must be swept from the address.

I was able to do this with the help of chantools: __github.com/lightninglabs/chantools (remove prefix “_”…just some “number of URLs in post” kinda limitation from umbrel)
This should work only if your channel was created by lnd v0.8.0-beta or higher approx. after 2019-10, due to SAFU commitments. If you had a really old channel, other commands like this one could help: _github.com/lightninglabs/chantools/blob/master/doc/chantools_rescueclosed.md, but here it will not be that easy and you will probably need commit_point from last channel state.

Brief steps how I was able to save my funds:

  1. download chantools for your OS and unzip: Releases · lightninglabs/chantools · GitHub
  2. go to the folder, where is file chantools.exe and copy path to this folder
  3. open command prompt (cmd in Win) or generally terminal in your OS and navigate to the path you copied with command:
cd <your_path>
  1. run command from this docu !read-first!: github.com/lightninglabs/chantools/blob/master/doc/chantools_sweepremoteclosed.md like
chantools sweepremoteclosed --recoverywindow 300 --feerate 20 --sweepaddr bc1q..... --publish

I would run this command without --publish first just to ensure, there is some unspent UTXO
5. past your seed (+passphrase or just press enter if you have not used it)
6. chantools will scan addresses. If there is some unspent utxo, you will be able to send it to some other address with the use of parameter --publish

That’s it, hope it helps to save some sats.