ElementsProject / ElementsProject/lightning

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

Open
#7,052 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

... 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"
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.