bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: New wallet loads data

Open JWBurgers opened this issue 2 years ago • 0 comments

Describe the bug

The bug is as follows:

  • Wallet is reset
  • New wallet is created
  • New wallet loads various transactions as well as a positive balance (presumably from previous Bitkit wallets stored on the phone)
  • Refreshing or closing/reopening the app does not solve the issue
  • The funds cannot be used
  • The set of 12 mnemonic words do not correspond to any of the addresses on which the funds were received.

The wallet is generating a new set of mnemonic words in random fashion. So the error has no relation to faulty number generation. Presumably, however, one or more old pieces of data are not wiped when the wallet is reset and old transactions are loaded into the new wallet. As the set of 12 mnemonic words is different, you can use the balance, it is just displayed.

We could not reproduce this bug when uninstalling/reinstalling the application. We also could not reproduce this error within Android. So presumably the issue lies with the "reset" function in the iOS version.

Reproduce

  1. Install a wallet and receive some funds
  2. Reset the wallet
  3. Create a new wallet

Screenshots / Recording

No response

Operating system

iOS 16

Bitkit version

v 1.0.20

Log output

No response

JWBurgers avatar Nov 25 '22 14:11 JWBurgers