lightninglabs / chantools

A loose collection of tools all somehow related to lnd and Lightning Network channels.
MIT License
222 stars 32 forks source link

Force close with pending HLTC #74

Closed Retropex closed 1 year ago

Retropex commented 1 year ago

Hello, I need a little help I recently had to close a lightning channel while an HLTC was active here is the tx that was created, the time lock has expired as we can see on the capture, it is even negative and yet the HLTC funds are still not recoverable, idea to get me out of this situation?

Thank you in advance for the help.

image

update,I just saw that the HLTC have a longer unlocking time.

"pending_htlcs": [
                {
                    "incoming": false,
                    "amount": "500032",
                    "maturity_height": 800406,
                    "blocks_til_maturity": 308,
                    "stage": 1
                }
            ],
guggero commented 1 year ago

Yes, you need to wait until blocks_til_maturity is zero or less.