Skip to content

[bug]: On restart LND attempts to broadcast different FC tx for already closing channel, shuts down #8850

@kaloudis

Description

@kaloudis

Background

I experienced a peculiar issue with LND v0.18 where after I restarted the node, LND attempts to rebroadcast a force close TX for a channel that is already in the process of being force closed, using a different tx.

Channel point in question is redacted.

I was able to resume operations with use of abandonchannel. chantools assisted in recovery of funds in question.

Potentially related to v0.18 sweeper changes?


2024-06-15 21:33:31.953 [ERR] BTCN: Broadcast attempt failed: insufficient fee
2024-06-15 21:33:31.954 [WRN] BTWL: Transaction d2c98b92e873338eabd024056e39ec40980973cdefa12052ea62a5700551e136 not accepted by mempool: insufficient fee

....

2024-06-15 21:33:31.475 [ERR] CNCT: ChannelArbitrator(xxxxxxxxxxxxxxxxxx:1): unable to broadcast close tx: insufficient fee
2024-06-15 21:33:31.475 [ERR] CNCT: ChannelArbitrator(xxxxxxxxxxxxxxxxxx:1): unable to advance state: insufficient fee
2024-06-15 21:33:31.475 [INF] CNCT: ChainArbitrator shutting down...
2024-06-15 21:33:31.479 [INF] NTFN: Cancelling epoch notification, epoch_id=10
2024-06-15 21:33:31.726 [INF] NTFN: Cancelling epoch notification, epoch_id=9
2024-06-15 21:33:31.726 [INF] HSWC: HTLC Switch shutting down...
2024-06-15 21:33:31.726 [INF] NTFN: Cancelling epoch notification, epoch_id=6
2024-06-15 21:33:31.726 [DBG] HSWC: HTLC Switch shutdown complete
2024-06-15 21:33:31.726 [INF] FNDG: Funding manager shutting down...

....

2024-06-15 21:33:31.962 [INF] BRAR: Breach arbiter shutting down...
2024-06-15 21:33:31.962 [INF] UTXN: UTXO nursery shutting down...
2024-06-15 21:33:31.962 [INF] NTFN: Cancelling epoch notification, epoch_id=5
2024-06-15 21:33:31.962 [INF] SWPR: Sweeper shutting down...
2024-06-15 21:33:31.962 [INF] NTFN: Cancelling epoch notification, epoch_id=4
2024-06-15 21:33:31.962 [INF] SWPR: TxPublisher stopping...
2024-06-15 21:33:31.962 [INF] NTFN: Cancelling epoch notification, epoch_id=3
2024-06-15 21:33:31.962 [INF] HSWC: HtlcNotifier shutting down...
2024-06-15 21:33:31.962 [DBG] HSWC: HtlcNotifier shutdown complete
2024-06-15 21:33:31.962 [INF] PRNF: PeerNotifier shutting down...
2024-06-15 21:33:31.962 [INF] CHNF: ChannelNotifier shutting down...
2024-06-15 21:33:31.962 [INF] NTFN: Cancelling epoch notification, epoch_id=2
2024-06-15 21:33:31.962 [INF] NTFN: bitcoind notifier shutting down...
2024-06-15 21:33:31.964 [INF] NTFN: Stopping mempool notifier
2024-06-15 21:33:31.964 [INF] HLCK: Health monitor shutting down...
2024-06-15 21:33:31.964 [ERR] LTND: Shutting down because error in main method: unable to start server: insufficient fee
2024-06-15 21:33:31.964 [INF] RPCS: Stopping RPC Server
2024-06-15 21:33:31.964 [INF] RPCS: Stopping InvoicesRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping PeersRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping RouterRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping SignRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping VersionRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping WalletKitRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping WatchtowerClientRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] RPCS: Stopping ChainRPC Sub-RPC Server
2024-06-15 21:33:31.965 [INF] TORC: Stopping tor controller
2024-06-15 21:33:31.965 [ERR] TORC: DEL_ONION got error: invalid arguments: unexpected code
2024-06-15 21:33:31.965 [ERR] LTND: error stopping tor controller: invalid arguments: unexpected code
2024-06-15 21:33:32.038 [INF] LTND: Shutdown complete

Your environment

  • lnd v0.18.0-beta
  • bitcoind v24.0.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions