lightning icon indicating copy to clipboard operation
lightning copied to clipboard

[bug] UTXO Created for Channel Open, but Channel Never Opened...

Open kn0wmad opened this issue 5 months ago • 3 comments

... and the node seems to have no knowledge of the UTXO or its address, which appear in public mempools. Now the funds seem to be in some sort of purgatory.

Issue and Steps to Reproduce

I'm not sure how to repro this. The original channel open was done in a high-fee environment, which could perhaps have added to the problem.

It seems that a tx was made on the blockchain that includes the correct amount for the channel open, but instead of ever opening the channel (peer also does not see it), it just goes to an address that the node is seemingly unaware of. The state of the "channel" was 'stuck' in CHANNELD_AWAITING_LOCKIN until a force close was sent. It is now in AWAITING_UNILATERAL status. The node does not list the address or onchain utxo.

I will send specifics of these via DM @cdecker

getinfo output

{
   "id": "redacted",
   "alias": "redacted",
   "color": "f2e64f",
   "num_peers": 2,
   "num_pending_channels": 0,
   "num_active_channels": 0,
   "num_inactive_channels": 1,
   "address": [
      {
         "type": "torv3",
         "address": "redacted.onion",
         "port": 9735
      }
   ],
   "binding": [
      {
         "type": "ipv4",
         "address": "0.0.0.0",
         "port": 9735
      }
   ],
   "version": "v23.11.2-modded",
   "blockheight": 829419,
   "network": "bitcoin",
   "fees_collected_msat": 0,
   "lightning-dir": "/root/.lightning/bitcoin",
   "our_features": {
      "init": "08a0800a0a69a2",
      "node": "88a0800a0a69a2",
      "channel": "",
      "invoice": "02000002024100"
   }

kn0wmad avatar Feb 07 '24 21:02 kn0wmad