Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forced channel closing still showed as pending after 90+ confs #895

Closed
lobsterpub opened this issue Mar 20, 2018 · 7 comments
Closed

Forced channel closing still showed as pending after 90+ confs #895

lobsterpub opened this issue Mar 20, 2018 · 7 comments

Comments

@lobsterpub
Copy link

I forced closed a channel yesterday and it is still showing up as "pending_force_closing_channels" after 90+ bitcoin testnet onchain confirmations.

The channel was opened by a remote peer and my node had a zero balance in the channel.

My bitcoind is running and fully synced. I also tried restarting LND and it was still showing pending.

I am on commit b0c35d5

@Roasbeef
Copy link
Member

Is your lnd node still connected to your bitcoind node if you examine the logs? After this PR lands , it'll properly reconnect in the case of a zmq connection drop.

If you check the logs, was there a sweep transaction that was broadcast?

@Roasbeef
Copy link
Member

Roasbeef commented Mar 20, 2018

If your node had zero balance in the channel, then it should've skipped straight to the resolution phase.

@lobsterpub
Copy link
Author

lobsterpub commented Mar 20, 2018

I checked the logs but they only go back about an hour so didn't find anything about the ZMQ being dropped. On restart it shows it connected to ZMQ. Still shows channel as pending.

@Roasbeef
Copy link
Member

Upon restart, if you grep for CTFN, what log lines appear? It should re-request confirmation notifications for that channel or other channels. Another relevant sub-system here is CNCT as if you are waiting for a timelock sweep, then that may persist.

When you do pendingchannels what shows up as blocks_til_maturity? With current params on testnet, it may be in the high hundreds of blocks.

@Roasbeef
Copy link
Member

Since you force closed the channel, you'll need to wait for the relative CSV timelock.

@lobsterpub
Copy link
Author

Ok, just realized that I actually had funds in this channel, the remote node was the one with zero balance. Time til Maturity is 291 blocks. I think this issue can be CLOSED. Thanks.

@Roasbeef
Copy link
Member

NP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants