-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Background
I have five pending open channels where the output is already spent. These five channels are stuck forever in this state because the funding output has already been used. This becomes confusing because it appears I have my existing wallet balance and these stuck duplicate pending open channels.
Currently, the only remedy is to erase this wallet and create a new wallet.
LND should automatically delete these from pending channels list.
Logs
2019-09-03 21:55:13.227 [ERR] FNDG: Unable to rebroadcast funding tx for ChannelPoint(SCRUBBED:1): Transaction rejected: output already spent
2019-09-03 21:55:18.291 [ERR] FNDG: Unable to rebroadcast funding tx for ChannelPoint(SCRUBBED:1): Transaction rejected: output already spent
2019-09-03 21:55:18.889 [ERR] FNDG: Unable to rebroadcast funding tx for ChannelPoint(SCRUBBED:0): Transaction rejected: output already spent
2019-09-03 21:55:19.512 [ERR] FNDG: Unable to rebroadcast funding tx for ChannelPoint(SCRUBBED:1): Transaction rejected: output already spent
2019-09-03 21:55:20.136 [ERR] FNDG: Unable to rebroadcast funding tx for ChannelPoint(SCRUBBED:1): Transaction rejected: output already spent
Your environment
- lnd 0.7.0.
- Linux casa-node 4.14.70-v7+ Fixing some README typos #2 SMP Wed Sep 19 07:49:26 UTC 2018 armv7l GNU/Linux)
- Has affected both Bitcoind 0.18.0.
- Running on a raspberry pi 3 b+ in docker containers.
- Tor version 0.3.5.8.
Steps to reproduce
I'm unsure how this happened or how to reproduce it. But, I suspect it has to do with attempting and failing to broadcast a low fee open channel transaction. Then removing all funds from the wallet.
Expected behaviour
A pending channel should be canceled/deleted if it can never be completed.
Actual behaviour
Pending channels become stuck forever if the funding output has already been spent.