Friday, November 15, 2024
HomeBitcoinHow would possibly I repair Core Lightning's fundchannel: "They despatched ERROR channel...

How would possibly I repair Core Lightning’s fundchannel: “They despatched ERROR channel ***: funding failed as a result of inner error”


After operating lightning-cli join 03a93b87bf9f052b8e862d51ebbac4ce5e97b5f4137563cd5128548d7f5978dda9 ldafy556bsfgjuxodwbt6naw3r67yt5jztajlpluqawhowt324s3rzqd.onion:9735 I obtained from this output from the peer with whom I selected to open a channel:

{
   "id": "03a93b87bf9f052b8e862d51ebbac4ce5e97b5f4137563cd5128548d7f5978dda9",
   "options": "8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020008a8a51a1",
   "course": "out",
   "deal with": {
      "kind": "torv3",
      "deal with": "ldafy556bsfgjuxodwbt6naw3r67yt5jztajlpluqawhowt324s3rzqd.onion",
      "port": 9735
   }

Assuming that establishing a connection over TOR succeded I then run lightning-cli -k fundchannel id=03a93b87bf9f052b8e862d51ebbac4ce5e97b5f4137563cd5128548d7f5978dda9 quantity=16777215 announce=false feerate=3000perkb and received the next output:

{
   "code": -1,
   "message": "They despatched ERROR channel ****************************************************************: funding failed as a result of inner error",
   "information": {
      "id": "03a93b87bf9f052b8e862d51ebbac4ce5e97b5f4137563cd5128548d7f5978dda9",
      "methodology": "fundchannel_start"
   }
}

I then went down the record of onion lightning nodes and tried the identical with BOTLZ and received
related output after operating fundchannel.
I’ve sufficient onchain BTC, listfunds returns

{
   "outputs": [
      {
         "txid": "****************************************************************",
         "output": 1,
         "amount_msat": 368885441000,
         "scriptpubkey": "********************************************************************",
         "address": "bc1***********************************************************",
         "status": "unconfirmed",
         "reserved": false
      },
      {
         "txid": "****************************************************************",
         "output": 1,
         "amount_msat": 335330026000,
         "scriptpubkey": "********************************************************************",
         "address": "bc1***********************************************************",
         "status": "confirmed",
         "blockheight": 856377,
         "reserved": false
      }
   ],
   "channels": [
      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "connected": true,
         "state": "CHANNELD_NORMAL",
         "channel_id": "****************************************************************",
         "short_channel_id": "*************",
         "our_amount_msat": 186720444,
         "amount_msat": 4999999000,
         "funding_txid": "****************************************************************",
         "funding_output": 1
      },
      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "connected": true,
         "state": "CHANNELD_NORMAL",
         "channel_id": "****************************************************************",
         "short_channel_id": "*************",
         "our_amount_msat": 12676067452,
         "amount_msat": 16777215000,
         "funding_txid": "****************************************************************",
         "funding_output": 0
      },
      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "connected": false,
         "state": "AWAITING_UNILATERAL",
         "channel_id": "****************************************************************",
         "our_amount_msat": 16777215000,
         "amount_msat": 16777215000,
         "funding_txid": "****************************************************************",
         "funding_output": 0
      },
      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "connected": true,
         "state": "CHANNELD_NORMAL",
         "channel_id": "****************************************************************",
         "short_channel_id": "*************",
         "our_amount_msat": 16777215000,
         "amount_msat": 16777215000,
         "funding_txid": "****************************************************************",
         "funding_output": 0
      },
      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "connected": true,
         "state": "CHANNELD_NORMAL",
         "channel_id": "****************************************************************",
         "short_channel_id": "*************",
         "our_amount_msat": 16777215000,
         "amount_msat": 16777215000,
         "funding_txid": "****************************************************************",
         "funding_output": 0
      },
      {
         "peer_id": "03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f",
         "connected": true,
         "state": "CHANNELD_NORMAL",
         "channel_id": "****************************************************************",
         "short_channel_id": "*************",
         "our_amount_msat": 16777215000,
         "amount_msat": 16777215000,
         "funding_txid": "****************************************************************",
         "funding_output": 0
      }
   ]
}

I’ve channels open with only one peer and when attempting to open with them I don’t get the identical output, channel opening succeeds supplied the price is excessive sufficient.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments