ElementsProject / ElementsProject/lightning

stuck with channel closed by LND peer

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

Description

### Issue and Steps to Reproduce
My LND peer had a hardware crash and lost its channel state. Recovery on their end failed according to them. They cannot trigger a force close. The problem is that I cannot do anything from my side either even though I must have all the correct information in my database.

The state from listpeerchannels is:

"state_changes": [
{
"timestamp": "2024-09-11T02:52:15.692Z",
"old_state": "CHANNELD_NORMAL",
"new_state": "AWAITING_UNILATERAL",
"cause": "remote",
"message": "They sent ERROR channel 06765c3ae87d07723ce413f6b2fc28c172a37427cc864649e762eeaf1b575217: unable to resume channel, recovery required"
}
],

When I try to (force) close from my side I get:

lightning-cli close 10
{
"code": -32602,
"message": "id: Channel in state AWAITING_UNILATERAL: invalid token '\"\"'"
}

lightning-cli close 10
{
"code": -1,
"message": "Peer has no active channel"
}

There must be a way to force unilateral payout from my end, right?

### `getinfo` output

"version": "v24.08",

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.