Giter Site home page Giter Site logo

Comments (2)

dawnseeker8 avatar dawnseeker8 commented on July 1, 2024

I am unable to replicate this issue with multiple transaction submit, however, the only time i can make the ledger account disappear is doing following: (very similiar issue with #8693)

  1. install the fresh metamask mobile in android. (must be fresh MMM app)
  2. restore a account using SRP.
  3. when account appear. click the account, and bring up the account drop down list.
  4. select Add account and hardware wallet -> Add hardware wallet
  5. Select ledger and then allow all permission required.
  6. and then add a ledger account in MMM.
  7. Now you can close MMM and relaunch metamask. (or wait for screen lock and reactive to force user relogin)
  8. After user login again. you will notice ledger account disappear in the list.

After deep into detail about the issue and debug the code. i can confirm that this issue has same cause as #5721 (the behaviour is difference however, they all touch the same flow in vault.js during login and reset password).

and this account disappear issue only happen at the first time you relogin to MM either from lock screen or from relauch the app. and it wont happen in the second time. that is because the first time user login, the code inside authentication.ts will recreateVaultWithSamePassword due to ENCRYPTION_LIB in asyncStorage have value of null. and after the first time user login, ENCRYPTION_LIB will have value set. and the next time user login, system wont run recreateVaultWithSamePassword. that is why second time account wont disappear.

anyway, i have tested the fix for PR for fixing #5721 , and confirm the fix will fix above issue. i will link this issue to above PR.

from metamask-mobile.

angelcheung22 avatar angelcheung22 commented on July 1, 2024

Lets test this one again after the other PR got merged, and see if issue still exist. Onhold for now

from metamask-mobile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.