If the wallet file becomes corrupted, the backup wallet file is restored, but during that process wallet is null and will result in an NPE when the blockchain is reset.
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
[ ] QA (Mobile Team)
Checklist:
[x] I have performed a self-review of my own code and added comments where necessary
[x] I have added or updated relevant unit/integration/functional/e2e tests
Issue being fixed or feature implemented
This fixes a crash that one user had 900+ times.
If the wallet file becomes corrupted, the backup wallet file is restored, but during that process
wallet
is null and will result in an NPE when the blockchain is reset.Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: