Repository navigation
Low Fee Channel Closure Not Recognized by Onchain Wallet #8860
Unanswered
pffa4z9w
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description:
My peer opened a channel to me and then initiated a closure with a very low fee (3 sats/vbyte). The closure is still pending and not recognized by my
lndonchain wallet, as indicated by a zerounconfirmed_balance. Additionally, the peer has gone offline and appears to have closed all channels.I am running the latest version of LND:
╰╼ lncli -v lncli version 0.18.0-beta commit=v0.18.0-betaSteps to Reproduce:
Check wallet balance:
Output:
{ "total_balance": "XXXX", "confirmed_balance": "XXXX", "unconfirmed_balance": "0", "locked_balance": "0", "reserved_balance_anchor_chan": "100000", "account_balance": { "default": { "confirmed_balance": "XXXX", "unconfirmed_balance": "0" } } }Issue: The
unconfirmed_balanceis0, which indicates that the channel closure transaction is not being recognized by mylndonchain wallet.List chain transactions:
Output (truncated):
{ "transactions": [ { "tx_hash": "XXXX", "amount": "0", "num_confirmations": 0, "block_hash": "", "block_height": 0, "time_stamp": "time", "total_fees": "0", "dest_addresses": [ "DEST1", "DEST2", "DEST3", "DEST4" ], "output_details": [ { "output_type": "SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH", "address": "DEST1", "pk_script": "XXXX", "output_index": "0", "amount": "330", "is_our_address": false }, { "output_type": "SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH", "address": "DEST2", "pk_script": "XXXX", "output_index": "1", "amount": "330", "is_our_address": false } ], "raw_tx_hex": "XXXX", "label": "0:closechannel:shortchanid-XXXXX", "previous_outpoints": [ { "outpoint": "XXXX:1", "is_our_output": false } ] } ] }Issue: The closure transaction appears with zero confirmations and the destination addresses are not recognized as "ours", which means my wallet does not identify the outputs of this transaction as belonging to me.
Check pending channels:
Output:
{ "total_limbo_balance": "AMOUNT", "pending_open_channels": [], "pending_closing_channels": [], "pending_force_closing_channels": [], "waiting_close_channels": [ { "channel": { "remote_node_pub": "NODE_PUB", "channel_point": "CHANPOINT:0", "capacity": "CAPACITY", "local_balance": "AMOUNT", "remote_balance": "100078", "local_chan_reserve_sat": "100000", "remote_chan_reserve_sat": "100000", "initiator": "INITIATOR_REMOTE", "commitment_type": "ANCHORS", "num_forwarding_packages": "0", "chan_status_flags": "ChanStatusBorked|ChanStatusCommitBroadcasted|ChanStatusLocalCloseInitiator", "private": false, "memo": "" }, "limbo_balance": "AMOUNT", "commitments": { "local_txid": "TXID", "remote_txid": "REMOTE_TXID", "remote_pending_txid": "", "local_commit_fee_sat": "896", "remote_commit_fee_sat": "896", "remote_pending_commit_fee_sat": "0" }, "closing_txid": "TXID", "closing_tx_hex": "" } ] }Issue: The channel is marked as "waiting_close" in the pending channels, but no action appears to be progressing to finalize the closure.
Attempt to force close the channel:
Output:
Issue: Trying to force close the channel results in an error stating that the channel is already in the process of being force closed, which contradicts the previous state showing it as "waiting_close".
Observed Behavior:
bitcoind, but mylndonchain wallet does not recognize the unconfirmed transaction.lncli pendingchannelscommand shows the channel as "waiting_close".Expected Behavior:
unconfirmed_balanceshould reflect the pending closure transaction.lndonchain wallet.Additional Information:
DEST1,DEST2,DEST3,DEST4Request:
I need guidance on how to retrieve my funds given the current state where the closure is pending with low fees and not recognized by my
lndonchain wallet.Thank you for your assistance.
All reactions