synonymdev / bitkit

Self-custodial Bitcoin and Lightning Wallet for Android and iOS.
https://bitkit.to
MIT License
117 stars 21 forks source link

[Bug]: Unable to check status of tx #2254

Open thisispav opened 1 month ago

thisispav commented 1 month ago

Describe the bug

I am on the homescreen and I want to check the status of my onchain tx - the moment I click on that I am prompted with this screen

Reproduce

  1. Go to homescreen
  2. Click on latest onchain tx
  3. See error

Screenshots / Recording

photo_2024-09-27_11-37-09 bitkit_ldk_logs_1727426351930.zip

Operating system

Android

Bitkit version

v136

Log output

No response

catch-21 commented 1 month ago

@thisispav Was it a send or receive? Do you have the txid?

pwltr commented 1 month ago

@coreyphillips Looks like this error is coming from the wallet not being instantiated for a couple of seconds after app start. Changing the type tolet wallet: TWallet | undefined; gives a lot of type errors. Any ideas how we can correct this?

image

coreyphillips commented 1 month ago

We could add logic on-start to restrict certain views or only pass the user off to the main wallet view once setupOnChainWallet has completed here.

pwltr commented 1 week ago

Related: https://github.com/synonymdev/bitkit/issues/2202