-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to close an Electrum Trampoline lightning channel to get back funding, 0 can send and 0 can receive #7907
Comments
When the channel is in the
"Close channel" (i.e. mutual/cooperative close) takes a bit of time, though usually less than a minute, not sure how much you waited before trying to force-close.
Looking at your screenshots, you have not mentioned some steps you apparently took. Anyway, with a backup your only option is to request a force-close from the remote, as shown in the screenshots, which relies on the remote node. While usually this should work too, you would have more options, including local force-close which should always work, if you had the full channel and not just a backup. What happened to the original wallet file that you used to open the channel? Open that and try a local force-close. In any case, please enable debug logging, and then try closing the channel again. |
This is an origin wallet which opened this channel. "Request force close" is the only option I can choose on Electrum beside "View transaction" as photo shown. Unable to Request Force Close with Gossip, it will pop up 'Failed to close channel: Exception("Enable gossip first")', |
No, this wallet file only contains a backup of the channel. This can be seen in the "Channels" tab from the lightning bolt icon being gray (there is also a tooltip if you hover-over the icon).
There would be more options if this was not just a backup.
The "Request Force Close" (remote force-close) option not working should already be fixed on master with commit 90dbac5 (but this is not in a released version yet). |
Note: we recently pushed this fix: 90dbac5 because eclair does not force close on request. |
@charlie754 did you restore this wallet from seed after you created the channel? that would explain why we see a channel backup |
No, I never used Seed function. This is the only wallet I created the channel, probably I keep tapping close and force close during channel opening status, it becomes a glitch(maybe?). |
OK, I closed it manually from the server. we need to investigate what happened, though. |
Note: the log contains the following warning: Maybe we should disable those options until the funding tx is confirmed. |
The channel is still in "funded" status, I used "Save Backup" once since I did research on internet said "Save Backup" would get refund from channel, of cuz it didn't work. For more information, this wallet was created before I reset my PC. I use the original wallet file from my old windows system then install Electrum to open it and created this "glitch" channel after the reset. |
Ok, I think it is very likely you opened the wallet file created after doing "save backup". |
As mentioned, I used the original wallet from my old windows system, from Appdata/roaming folder. I'm not sure if there's any other cache on old windows for wallet. But the channel was created after the PC is reset. |
Note: eclair did not publish its commitment tx when I tried to force-close from the command line. The log says |
Is there any chance to get back the fund from this channel, can it be fixed? :( |
Yes, if you can find the wallet file from which you opened the channel. |
Negative, I tried the original and copy one, it's still show Funded as the photo shown above. I've never delete any wallet as well. |
I tested eclair force-close in what I believe are the same conditions reported by this user: I opened a channel, closed the client before the funding tx was confirmed, and attempted to request a force-close using a wallet backup (without 90dbac5, so Electrum sent only After that, the channel was visible in Eclair responded that it force closed, but without broadcasting its commitment transaction.
I think this needs to be fixed in Eclair, because it may result in fund losses, in case the user has lost its original wallet. |
@charlie754 I managed to reconstruct the commitment transaction and to force-close, using scripts in #7298 see https://blockstream.info/tx/2fb1557447ed04c57407b5160659af9af42c4cd20729bdee811aa7045b6b591d |
Closing this; the Electrum part of this bug was fixed in 90dbac5 |
Hi ! i got that bug, update electrum since then. The bitcoin got "redeemed" label ( got this transaction since 05/2023 ) any solution ? |
I opened a trampoline routing channel with tick "Use trampoline routing (disable gossip)", the channel was opening, I choose "Electrum trampoline" with 0.01 btc, tapped "OK",
the channel was opening, I tried to send money to a merchant with lightning code in "Send", it's about 0.001 btc, then tapped "pay", Electrum shown "No path found", I thought somethings wrong, so I go back to Channel tapped "Close Channel", no response, then tapped "Force close channel" repeatly for both options, then the channel goes from "opening" to "funded", then got stuck here.
My whole wallet balance gone to this fund, only "Force close channel" available which I tried couple times "request sent", how can I get back this fund?
The text was updated successfully, but these errors were encountered: