Oddbean new post about | logout
 Any advice on how to recover funds stuck in limbo after a force closure has matured and the closing transaction has long since been confirmed on the blockchain?  The blockchain shows the tx confirmed, way past the maturity date, and the channels (which closed during Hurricane Milton) remain as "pending."

Also, would anybody mind a text zap of a 5-10 sats to ensure everything looks fine. Thx. 
 Example: 

"total_limbo_balance":  "21138081",
    "pending_open_channels":  [],
    "pending_closing_channels":  [],
    "pending_force_closing_channels":  [
        {
            "channel":  {
                "remote_node_pub":  "031b301307574bbe9b9ac7b79cbe1700e31e544513eae0b5d7497483083f99e581",
                "channel_point":  "a750503e7f921ea0afde3c412a6f5f049e53712decaf1c84fda4fcf98429d40b:1",
                "capacity":  "10200000",
                "local_balance":  "8806506",
                "remote_balance":  "673473",
                "local_chan_reserve_sat":  "0",
                "remote_chan_reserve_sat":  "0",
                "initiator":  "INITIATOR_LOCAL",
                "commitment_type":  "ANCHORS",
                "num_forwarding_packages":  "0",
                "chan_status_flags":  "",
                "private":  false,
                "memo":  ""
            },
            "closing_txid":  "e5afdbce0808ace5a4da0c5bae20d65191e908b0b1eb789110e9b0f87338a77b",
            "limbo_balance":  "8806836",
            "maturity_height":  865274,
            "blocks_til_maturity":  -2331,
            "recovered_balance":  "0",
            "pending_htlcs":  [],
            "anchor":  "LIMBO"



nostr:note12t6esdz2rv0pcxarxu48vmkyg0efkh2vsgtxe0nftl095x0ne2nqh25dxr  
 Try to force close it again with lncli, sometimes lnd derps out

If that doesn't work checkout a "chantools"  
 It seems to be closed, it just LND does not recognize the closure. I tried closing again, but it says the channel is not recognized. 
 Ok download chantools and check the command sweepremoteclosed

And don't be worried, funds are safe, just gonna be annoying to get them 
 Ok, about to run that command.  Will it sweep even though the transactions are already settled on the main chain?  It will just sweep them all to whatever address I input? 

Does this look okay:

./chantools sweepremoteclosed --destaddr bc1qq2udaj98fst6gq4aeytseghn28l6fcxqknlhmz


? 
 Yep looks good (assuming you're sure that's an address you control) 
 I tried it and it wants me to put in the 24 word mnemonic…🥶 
 Yes it needs your lnd seed. It's safe. It's made by lnd folks 
 I keep getting an error stating: “could not query API for addresses with funds.” 
 Any thoughts on what I’m doing wrong here…

could not query API for addresses with funds: could not query unspent: error decoding data from API 'https://blockstream.info/api/address/bc1ph58qnydnj8eanrzrxy9nxx652fe7x98hlfylzxsjj0s3tynaxthsk9xz7x', server might be experiencing temporary issues, try again later; error details: invalid character 'Y' looking for beginning of value 
 Just sent you a test zap.  Looks good on my end. Good luck with channel issue. 🫂