-
Notifications
You must be signed in to change notification settings - Fork 172
Stuck on "Waiting Close" #1340
Comments
Just wait for a chain conformation, then it will be properly closed. |
Same issue. Close TX actually has been confirmed for over 24 hours |
Is it still "Watiing close" or "pending close"? If it is "pending close" you must wait for the channel CSV delay to expire. |
On my app it says "waiting close", and in the transactions screen it still indicates "unconfirmed". The output on the not-ios-app side has already been swept with a single signature so I guess the other output to the iOS app is the CSV output. I can email logs from the iOS app if that will help. It otherwise indicates that it is in sync
|
Looking at the unswept value ( |
Sorry actually I think we got TXs mixed up. channel point is 5c2fba8298178953a5a39fb4c50bf735404b4197af8b050f6c6fcba95150a46c:1 so that 4029 satoshis output is the CHANGE from opening the channel. Which kinda sucks, the app probably should not have bothered with that output when creating the channel but might've been a UI thing like opening a channel for "20 USD" or something. channel close: bbb356b10f3a11ccf022048703bf96b1b9949ee547be37df833f64a5ebd5ade8 output 0 there is my remote lnd-connected-to-full-node that I run at home, I can verify that the remote node swept that output in tx
So, transaction Are there any advanced functions like chain rescan available in the app? At this point I think I may just install the desktop version of the app and recover from seed just to sweep the on-chain funds. |
Gotcha, yeah looks like it is still unconfirmed there. Can you check the logs, see if it is doing anything at all? |
Grepping for the close tx:
anything else I should search for? |
Update: I tried installing lightning-app for desktop and restoring the wallet from seed phrase, hoping that the desktop wallet would be able to recover the sweep-from-channel-close transaction. Unfortunately that did not work. You can see in the screen shots below that the desktop app was able to import the same set of transactions as the iOS app, but still unable to recover that last TX. This makes me wonder about the rescan process in LND/lightning-app or if something could be faulty in the compact block filter processing? Or is the address the sweep TX pays to beyond the gap limit for the BIP44 portion of the wallet? Like, how is that key generated in LND? It's getting to the limit of what I will try to do to recover $20 but can I try importing the seed phrase into another wallet like electrum or bcoin and rescan with a bigger gap limit? Desktop TX list after restoring from seed:TX list from iOS app: |
@pinheadmz Are those logs you grepped from the iOS app? What I'm looking for is whether it is able to detect that channel Unfortunately the seed only works with lnd, and since it hasn't been swept it won't yet be found in the regular lnd wallet. |
@halseth I sent you the complete log on slack, here's a snippet of the log grepped for the channel open tx:
|
So it is scanning from a block pretty far back, so it might be that it just takes a long time. How long did you leave the app open? |
Ok! I got my $20 back, thanks to @halseth -- basically the thing for me to do was just leave the iOS open and running in the foreground for several hours. The app eventually detected the channel close after syncing the blockchain. It's a little hard to tell what's going on because the app will indicate that it is "synced" and the internal log don't print messages about scanning blocks (otherwise I think I'd notice it was processing a low height). Anyway - thank you! Just saved my sats. |
Hello, I'm new to lightning, and when I got some BTC in my Lightning Wallet. It created a channel for me automatically because Autopilot was on. I disabled autopilot and closed the channel, however It has been stuck on "Waiting Close" for two hours now. How can I fix this?
Thank you.
The text was updated successfully, but these errors were encountered: