bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: Funds lost after channel close

Open steepdawn974 opened this issue 2 years ago • 8 comments

Describe the bug

After having closed a Lightning connection, the funds that were in the channel never reappear in the on-chain wallet.

Under Networks > Ligthning Connections the channel is under "Closed Connections", so it appears it has properly closed. I imported the seed words into a third-party wallet to double-check, and can confirm that the funds never arrived.

Where can I provide further info (channelId etc) to help troubleshoot?

Reproduce

  1. Open a LN channel (Blocktank) with wallet on-chain funds
  2. LN Balance appears
  3. Close this Lightning Connection
  4. Channel is closed, but Funds are lost

Screenshots / Recording

No response

Operating system

CalyxOS 4.3.0 (Android13)

Bitkit version

v1.0.0

Log output

No response

steepdawn974 avatar Nov 17 '22 15:11 steepdawn974

Can you please confirm the version in the app? Go to Settings -> About Bitkit. It should be version 1.0 (19) for the latest.

We just added a pending balance to your total so you should see that there for a while after the channel closes. It's likely a mutual close didn't happen resulting in a force close and the funds could take 2 weeks to be claimable. You won't see it in your onchain wallet even if you import it elsewhere until the outputs become spendable again so the wallet can claim it.

If you're on the latest version and not seeing a pending balance above your total on the home screen then send us your channel ID or Blocktank order ID (Settings -> General -> Blocktank Orders) to [email protected] and we can check on our side what the status is.

Jasonvdb avatar Nov 17 '22 15:11 Jasonvdb

It reads: Version: 1.0.0

EDIT: I see a new update just dropped. Installing 1.0 (19) now

steepdawn974 avatar Nov 17 '22 15:11 steepdawn974

Cool let me know if you see a pending balance now?

Jasonvdb avatar Nov 17 '22 16:11 Jasonvdb

Negative. Still no pending balance on v1.0 (19). Will engage [email protected] now.

steepdawn974 avatar Nov 17 '22 18:11 steepdawn974

@steepdawn974 just confirming you didn't try restore your wallet into Bitkit? It's still the original one you created on your device? Just want to rule out a bug in the backup method.

Jasonvdb avatar Nov 21 '22 19:11 Jasonvdb

Correct- It was a first-time fresh install of 1.0.0 back then. Create a fresh wallet, transferred some sats, opened a channel, then two weeks later closed the channel --> remaining channel balance is not showing up in the on chain wallet, also not a pending.  Then upgraded to 1.0 (19) as suggested on Github --> still no fund pending. 

SD 

-- Sent with Tutanota, enjoy secure & ad-free emails.

Nov 21, 2022, 20:37 by @.***:

@steepdawn974 https://github.com/steepdawn974> just confirming you didn't try restore your wallet into Bitkit? It's still the original one you created on your device? Just want to rule out a bug in the backup method.

— Reply to this email directly, > view it on GitHub https://github.com/synonymdev/bitkit/issues/713#issuecomment-1322555126> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AV773HBIWXJYR6KA3PTJRALWJPFQFANCNFSM6AAAAAASDPPXFA> . You are receiving this because you were mentioned.> Message ID: > <synonymdev/bitkit/issues/713/1322555126> @> github> .> com>

steepdawn974 avatar Nov 22 '22 20:11 steepdawn974

Any updates for me in this?

Still waiting for my funds...

Rgds, SD974 Nov 22, 2022, 21:13 by @.***:

Correct- It was a first-time fresh install of 1.0.0 back then. Create a fresh wallet, transferred some sats, opened a channel, then two weeks later closed the channel --> remaining channel balance is not showing up in the on chain wallet, also not a pending.  Then upgraded to 1.0 (19) as suggested on Github --> still no fund pending. 

SD 

-- Sent with Tutanota, enjoy secure & ad-free emails.

Nov 21, 2022, 20:37 by @.***:

@steepdawn974 https://github.com/steepdawn974>> just confirming you didn't try restore your wallet into Bitkit? It's still the original one you created on your device? Just want to rule out a bug in the backup method.

— Reply to this email directly, >> view it on GitHub https://github.com/synonymdev/bitkit/issues/713#issuecomment-1322555126>> , or >> unsubscribe https://github.com/notifications/unsubscribe-auth/AV773HBIWXJYR6KA3PTJRALWJPFQFANCNFSM6AAAAAASDPPXFA>> . You are receiving this because you were mentioned.>> Message ID: >> <synonymdev/bitkit/issues/713/1322555126>> @>> github>> .>> com>

steepdawn974 avatar Nov 24 '22 20:11 steepdawn974

@rbndg ?

JWBurgers avatar Nov 25 '22 14:11 JWBurgers

@steepdawn974 do you still have the Bitkit wallet installed with the original seed? Could you please check if funds from the closed channel ever returned? Could have taken +-2 weeks if the channel was force closed.

Jasonvdb avatar Mar 07 '23 08:03 Jasonvdb

@Jasonvdb Yes, I still have the wallet and no, the funds have not shown up.

Note: I did receive an out of band refund via Customer Support though.

steepdawn974 avatar Mar 10 '23 08:03 steepdawn974

There might be another related issue though: Moved a coouple of days ago some 20k sats from Savings to "Spending balance" (Lighning), and the funds never showed up in Lightning. the tx is confirmed for several days.

I dont actually know if the LDK node changed from then to now; but if it remained the same then it could mean that this node is somehow "broken" and funds disappear in it.

steepdawn974 avatar Mar 10 '23 08:03 steepdawn974

Hi @steepdawn974

Could you please try with the latest version and let me know if it's not fixed. Thanks and sorry.

JeanlChristophe avatar Jun 05 '23 14:06 JeanlChristophe

@steepdawn974 Were you able to try again with the latest version?

JeanlChristophe avatar Jul 17 '23 11:07 JeanlChristophe

Closing this issue

JeanlChristophe avatar Oct 10 '23 13:10 JeanlChristophe