nighthawk-apps / nighthawk-wallet-android

Old version of Nighthawk Android Wallet. No longer maintained.
https://nighthawkwallet.com
Apache License 2.0
33 stars 14 forks source link

Initial wallet scan never completes with Rust error #118

Closed sethforprivacy closed 2 years ago

sethforprivacy commented 2 years ago

Bug vs expected behavior Expected the wallet to sync normally, but it didn't even error out initially, it just never showed sent funds. Upon inspecting it finally threw an error and cannot complete sync.

Device (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Create a new wallet
  2. Wallet never syncs
  3. Do "full restore"
  4. Wallet now complains it cannot sync

Screenshots image

sethforprivacy commented 2 years ago

Quick note, the wallet appears to get through the download stage but never completes the scanning phase.

I also noticed Zecwallet Lite is also not syncing for me -- is there some bug or network issue after NU5?

Edit: and yes, restore/birthday height is set correctly to what I was given when creating the wallet.

sethforprivacy commented 2 years ago

The update to Zecwallet Lite today resolved the similar issue for that wallet and funds now show there properly, FWIW.

nighthawk24 commented 2 years ago

Thank you for providing the detailed issue @sethforprivacy

We've resolved the issue on our load balancer that was the root cause of serving incorrect GRPC call responses.

Please try Rescan with the WIPE option to re-download and sync the chain.

nighthawk24 commented 2 years ago

The update to Zecwallet Lite today resolved the similar issue for that wallet and funds now show there properly, FWIW.

The ZecWallet issue might not be related as it uses a custom lightwalletd backend.

sethforprivacy commented 2 years ago

Rescan with wipe just says no funds available now and never seems to try to sync after showing "downloading 100%" for a couple of seconds.

I even tried restoring from seed fresh and it still never seems to sync (though it shows no error or sync progress at all).

sethforprivacy commented 2 years ago

The balance screen shows that the wallet is clearly stuck at block 1681500 and never gets past that, but for some reason the wallet appears to think it's properly synced.

sethforprivacy commented 2 years ago

Confirmed that the new version now syncs properly, thanks!