LN-Zap / zap-desktop

Zap Wallet - Cross platform Lightning Network wallet focused on user experience and ease of use ⚡️
MIT License
1.28k stars 216 forks source link

Zero balance after 44 confirmations #3684

Open dappstatus opened 3 years ago

dappstatus commented 3 years ago

Hi, i use the latest version of ZAP and created a new wallet. I have sent some BTC to the receiver address and it's confirmed 44 blocks on the blockchain but my wallet still says zero balance.

dappstatus commented 3 years ago

After 3 weeks my wallet still shows 0 balance https://www.blockchain.com/btc/address/bc1q5dq66uxw40cx5g3drvzpw5ym2zfkwaqhz77ayv 1 2

bolatovumar commented 3 years ago

I don't really have any idea what might be wrong here but have you tried restoring your wallet from the original seed phrase?

dappstatus commented 3 years ago

I don't really have any idea what might be wrong here but have you tried restoring your wallet from the original seed phrase?

Yes i tried that multiple times, I also reinstalled zap.

bolatovumar commented 3 years ago

Really strange. @mrfelton any idea what might be going on here?

dappstatus commented 3 years ago

I just tried to use an old version but not result, still same problem.

mrfelton commented 3 years ago

Not sure if this is the same, but I have seen before where if you make a deposit to an address that is generated by lnd during the initial sync process, that deposit does not ever get recognised by lnd. When this has happened, usually restoring from the seed (potentially with a very large --recovery_window) has been able to recover the funds. I don't know the root cause of that issue though and neither do I know if it is related to @dappstatus problem.

@dappstatus did you make the deposit during the initial sync process or was the wallet already fully synced when you did the deposit?

dappstatus commented 3 years ago

Not sure if this is the same, but I have seen before where if you make a deposit to an address that is generated by lnd during the initial sync process, that deposit does not ever get recognised by lnd. When this has happened, usually restoring from the seed (potentially with a very large --recovery_window) has been able to recover the funds. I don't know the root cause of that issue though and neither do I know if it is related to @dappstatus problem.

@dappstatus did you make the deposit during the initial sync process or was the wallet already fully synced when you did the deposit?

I'm pretty sure it was synced, because i just installed the wallet, then when you open it for the first time it syncs, after that i did sent the btc to the new created wallet address.

mrfelton commented 3 years ago

The other thing that I have seen people use to recover missing onchain transactions from lnd is the dropwtxmgr command.

Ref https://github.com/lightningnetwork/lnd/issues/3121

Which I believe was actually integrated into lnd and made accessible via the --reset-wallet-transactions flag.

See https://github.com/lightningnetwork/lnd/blob/master/docs/recovery.md#forced-in-place-rescan

mrfelton commented 3 years ago

Seems it was only recently integrated into lnd (only in master branch). For instructions for existing releases of lnd, see https://github.com/lightningnetwork/lnd/blob/v0.11.1-beta/docs/recovery.md#forced-in-place-rescan

aferr5716 commented 3 years ago

@dappstatus did you make the deposit during the initial sync process or was the wallet already fully synced when you did the deposit?

Any chance you could get me informed on restoring the blockchain from the seed?? I did exactly what you said here, I tried to Fund my wallet during the sync... smh

dappstatus commented 3 years ago

I haven't recovered my fund yet. If someone want to recover it, i have the 24 words seed and wallet password. The person who do it can send me half of the funds and keep the other half. There are 130$ on the wallet (current btc price 35k$).

bolatovumar commented 3 years ago

I haven't recovered my fund yet. If someone want to recover it, i have the 24 words seed and wallet password. The person who do it can send me half of the funds and keep the other half. There are 130$ on the wallet (current btc price 35k$).

@dappstatus feel free to e-mail me the seed words and wallet password if you haven't recovered your funds yet. You can find my e-mail on my profile page. I can't guarantee anything as I haven't had to recover funds from LND before. I will send you all of the funds if I manage to recover them.

dappstatus commented 3 years ago

I haven't recovered my fund yet. If someone want to recover it, i have the 24 words seed and wallet password. The person who do it can send me half of the funds and keep the other half. There are 130$ on the wallet (current btc price 35k$).

@dappstatus feel free to e-mail me the seed words and wallet password if you haven't recovered your funds yet. You can find my e-mail on my profile page. I can't guarantee anything as I haven't had to recover funds from LND before. I will send you all of the funds if I manage to recover them.

Cool, lets try. I have sent you the data.

dappstatus commented 3 years ago

I haven't recovered my fund yet. If someone want to recover it, i have the 24 words seed and wallet password. The person who do it can send me half of the funds and keep the other half. There are 130$ on the wallet (current btc price 35k$).

@dappstatus feel free to e-mail me the seed words and wallet password if you haven't recovered your funds yet. You can find my e-mail on my profile page. I can't guarantee anything as I haven't had to recover funds from LND before. I will send you all of the funds if I manage to recover them.

@bolatovumar was able to recover the lost btc for me! Thank you so much!

mrfelton commented 3 years ago

@bolatovumar what did you do - rescan or something else?

bolatovumar commented 3 years ago

@mrfelton built LND from source and just rescanned with default parameters using a Neutrino backend. Worked like a charm from the first try. I also tried recovering with Zap but it kept getting stuck for some reason.