You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When force-closing a channel, the txn gets broadcasted to the chain. After mining a block and seeing the txn is confirmed via bitcoind, the response from lncli listchaintxns still shows "num_confirmations": 0. Even after mining many blocks past the pending channel's maturity_height, the num_confirmations never changes from 0. According to bitcoind, the transaction has 1924 confs.
Also, after restarting the node, the record of the txn in listchaintxns disappears. The closed channel still shows the correct closing_tx_hash and bitcoind still says its confirmed.
Your environment
version of lnd: v0.15.1-beta
which operating system (uname -a on *Nix): Docker on MacOS
version of btcd, bitcoind, or other backend: v23.0
any other relevant environment details
Steps to reproduce
Force-close a channel
Confirm that the transaction has been broadcast to the bitcoin mempool
Mine some blocks
verify on the bitcoin node that the transaction is confirmed
Run lncli listchaintxns to see the num_confirmations value still set to 0
Restart the node
Run lncli listchaintxns to see that the transaction is no longer listed
Expected behaviour
The num_confirmations value should increment with each block mined after the channel is force-closed.
The transaction should not be removed from lncli listchaintxns after restarting the node
Actual behaviour
The num_confirmations value never changes from 0
The transaction is no longer listed in lncli listchaintxns after a restart
The text was updated successfully, but these errors were encountered:
nice catch!
Have re-created the scenario you described and can confirm the issue. Will look into this this week 👍 have been informed that someone else is looking into it :)
Background
When force-closing a channel, the txn gets broadcasted to the chain. After mining a block and seeing the txn is confirmed via bitcoind, the response from
lncli listchaintxns
still shows"num_confirmations": 0
. Even after mining many blocks past the pending channel'smaturity_height
, thenum_confirmations
never changes from 0. According to bitcoind, the transaction has 1924 confs.Also, after restarting the node, the record of the txn in
listchaintxns
disappears. The closed channel still shows the correctclosing_tx_hash
and bitcoind still says its confirmed.Your environment
lnd
: v0.15.1-betauname -a
on *Nix): Docker on MacOSbtcd
,bitcoind
, or other backend: v23.0Steps to reproduce
lncli listchaintxns
to see thenum_confirmations
value still set to0
lncli listchaintxns
to see that the transaction is no longer listedExpected behaviour
num_confirmations
value should increment with each block mined after the channel is force-closed.lncli listchaintxns
after restarting the nodeActual behaviour
num_confirmations
value never changes from0
lncli listchaintxns
after a restartThe text was updated successfully, but these errors were encountered: