lnd: Negative blocks till maturity on SCB + Seed Restore

EDIT: here are the CNCT logs

https://hastebin.com/vasagicuxa.cs

Background

A while back, my storage device failed and I lost my LND wallet with channels. Fortunately, I had the latest copy of the scb file (channel.backup) and my seed.

When I restore with the seed and copy the scb over, I am able to see my old channels and balances. They were all in “waiting close” for about a week until I tried force closing them, but there was no change.

When I run lncli pendingchannels I see the channels, almost all of which have negative blocks till maturity. Does this means the funds have settled but something isn’t updating to send it back to my lnd wallet?

Your environment

  • version of lnd 0.9.0 beta
  • which operating system (uname -a on *Nix)

Linux raspberrypi 4.19.102-v7l+, “Raspiblitz” image

  • version of btcd, bitcoind, or other backend

Bitcoind 19.0.1

  • any other relevant environment details Routed behind the TOR network and successfully connected to 11 peers

Steps to reproduce

Restore using seed + SCB file, use lncli pendingchannels after everything is set up and running

Expected behaviour

Force closed channels should finalize after the blocks till maturity unit is reached

Actual behaviour

Force closed channels are still in a pending state and have a negative value in blocks until maturity Hastebin output of pending channels:

https://hastebin.com/atilayiwuf.bash

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Have you tried multiple restore attempts? If you look at these channels on-chain, all your outputs have already been swept, some of them have even been used for new channels. Could you paste CNCT for 2-3 channels in this state?

Looks similar to https://github.com/lightningnetwork/lnd/issues/3321.