-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
No pending channels but unconfirmed_balance > 0 #1119
Comments
Which commit are you on? |
Explorers shouldn't be seen as some source of truth. Only your node has the proper view of your set of channels. |
On restart, what logs do you see from |
Nothing unusual I guess?
|
Sorry to waste your time. Pulled the latest code and the problem is resolved now. |
Hi, I have same problem but commit is few new.
|
A fix for btcwallet is pending, that will handle the extra unconfirmed balance. |
I set debuglevel=LNWL=trace in config and restarted the lnd
|
I found the root of problem
There is output of change as i think
But! |
I see there parent transaction as I grepped logs:
If i right understood the channel was closed as cooperative and this output already was used. So it's double spending. |
So you're saying the parent transaction isn't being removed? |
Background
I've closed some channels more than a week ago but some of them weren't responding (they seemed offline from my side). I could see two "pending closing" channels via
lncli pendingchannels
but after a few days, they disappeared.However, when I do
lncli walletbalance
I see that the unconfirmed balance is non-zero:lncli channelbalance
outputs this:"balance": "1808192"
lncli listchannels | grep true
shows this:but 1ml.com says my node has 10 channels open instead.
I checked all the transactions from
lncli listchaintxns
but all of them are confirmed.What could go wrong?
P.S. I went offline for ~4 hours a few days after closing the channels (when they still showed as pending).
Your environment
The text was updated successfully, but these errors were encountered: