Description
Background
It seems very similar to #3675. I've opened channels on signet, the transactions have confirmed but the channel is stuck in pending. I've attempted to rescan wallet but with no success.
In the logs I see the following:
2025-03-11T08:36:45.834402212Z 2025-03-11 08:36:45.834 [ERR] BTCN: Broadcast attempt failed: Transaction already in block chain
2025-03-11T08:36:45.838404956Z 2025-03-11 08:36:45.838 [WRN] BTWL: Transaction 30c926944e1229afd70eb85ed3c2836a47087c4869b503fa46e0da1e382159ab not accepted by mempool: txn-already-known
2025-03-11T08:36:45.842437672Z 2025-03-11 08:36:45.842 [INF] LNWL: 30c926944e1229afd70eb85ed3c2836a47087c4869b503fa46e0da1e382159ab: tx already confirmed
2025-03-11T08:36:45.877884034Z 2025-03-11 08:36:45.877 [INF] NTFN: New confirmation subscription: conf_id=1, txid=30c926944e1229afd70eb85ed3c2836a47087c4869b503fa46e0da1e382159ab, num_confs=6 height_hint=238844
2025-03-11T08:36:45.878742021Z 2025-03-11 08:36:45.878 [INF] NTFN: New confirmation subscription: conf_id=2, txid=30c926944e1229afd70eb85ed3c2836a47087c4869b503fa46e0da1e382159ab, num_confs=6 height_hint=238844
2025-03-11T08:36:45.879106427Z 2025-03-11 08:36:45.878 [INF] FNDG: Waiting for funding tx (30c926944e1229afd70eb85ed3c2836a47087c4869b503fa46e0da1e382159ab) to reach 6 confirmations
2025-03-11T08:36:45.881038972Z 2025-03-11 08:36:45.880 [ERR] BTCN: Broadcast attempt failed: Transaction already in block chain
2025-03-11T08:36:45.884405537Z 2025-03-11 08:36:45.884 [WRN] BTWL: Transaction 2d4e9582ad08c3a7c43a7c9720803d27f5ee8f4d0741544304f2f809ad649b66 not accepted by mempool: txn-already-known
2025-03-11T08:36:45.888282081Z 2025-03-11 08:36:45.888 [INF] LNWL: 2d4e9582ad08c3a7c43a7c9720803d27f5ee8f4d0741544304f2f809ad649b66: tx already confirmed
2025-03-11T08:36:45.941005705Z 2025-03-11 08:36:45.940 [INF] HSWC: HTLC Switch starting
2025-03-11T08:36:45.942209806Z 2025-03-11 08:36:45.942 [INF] HSWC: InterceptableSwitch starting...
2025-03-11T08:36:45.942684634Z 2025-03-11 08:36:45.942 [INF] NTFN: New confirmation subscription: conf_id=3, txid=2d4e9582ad08c3a7c43a7c9720803d27f5ee8f4d0741544304f2f809ad649b66, num_confs=6 height_hint=238844
2025-03-11T08:36:45.943169005Z 2025-03-11 08:36:45.943 [INF] NTFN: New confirmation subscription: conf_id=4, txid=2d4e9582ad08c3a7c43a7c9720803d27f5ee8f4d0741544304f2f809ad649b66, num_confs=6 height_hint=238844
2025-03-11T08:36:45.943524585Z 2025-03-11 08:36:45.943 [INF] FNDG: Waiting for funding tx (2d4e9582ad08c3a7c43a7c9720803d27f5ee8f4d0741544304f2f809ad649b66) to reach 6 confirmations
Your environment
-
version of
lnd
: 0.18.5 -
which operating system (
uname -a
on *Nix): Docker w/ Linux f854b94f17b1 4.4.0-210-generic Unable to connect to remote node. #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 Linux -
version of
btcd
,bitcoind
, or other backend : Bitcoind 27.1 -
any other relevant environment details
BTCPay Server Docker deployment, in signet
Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Connected to some peers, opened channels, transactions confirmed but channels are still pending.
Actual behaviour
root@signet:~/btcpayserver-docker# bitcoin-lncli.sh pendingchannels
{
"total_limbo_balance": "0",
"pending_open_channels": [
{
"channel": {
"remote_node_pub": "02357a375a846279fc1e8413f5e182652a125e5f6a4f4653bffabebb8177a6d8aa",
"channel_point": "30c926944e1229afd70eb85ed3c2836a47087c4869b503fa46e0da1e382159ab:0",
"capacity": "200000000",
"local_balance": "199996530",
"remote_balance": "0",
"local_chan_reserve_sat": "2000000",
"remote_chan_reserve_sat": "2000000",
"initiator": "INITIATOR_LOCAL",
"commitment_type": "ANCHORS",
"num_forwarding_packages": "0",
"chan_status_flags": "",
"private": false,
"memo": "",
"custom_channel_data": ""
},
"commit_fee": "2810",
"commit_weight": "772",
"fee_per_kw": "2500",
"funding_expiry_blocks": 1904
},
{
"channel": {
"remote_node_pub": "0244bb7ba2392ab2d493ad04ad4afcd482ca44a2bfe5b42bcc830bfe00e5b08082",
"channel_point": "2d4e9582ad08c3a7c43a7c9720803d27f5ee8f4d0741544304f2f809ad649b66:0",
"capacity": "200000000",
"local_balance": "199996530",
"remote_balance": "0",
"local_chan_reserve_sat": "2000000",
"remote_chan_reserve_sat": "2000000",
"initiator": "INITIATOR_LOCAL",
"commitment_type": "ANCHORS",
"num_forwarding_packages": "0",
"chan_status_flags": "",
"private": false,
"memo": "",
"custom_channel_data": ""
},
"commit_fee": "2810",
"commit_weight": "772",
"fee_per_kw": "2500",
"funding_expiry_blocks": 1904
}
],
"pending_closing_channels": [],
"pending_force_closing_channels": [],
"waiting_close_channels": []
}