ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.81k stars 889 forks source link

stuck with channel closed by LND peer #7688

Open U-got-IT opened 3 hours ago

U-got-IT commented 3 hours ago

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",