alephium / alephium-frontend

A monorepo containing all things frontend on Alephium.
Other
11 stars 9 forks source link

Could not unlock app: Keyring: Cannot import mnemonic, invalid mnemonic provided #694

Open nop33 opened 1 week ago

nop33 commented 1 week ago

A few users have been reporting this problem.

image

This error is thrown when the importMnemonicString function of @alephium/keyring is called. In the case of the mobile wallet it is called when creating a wallet or when migrating the mnemonic. Since the error also includes "Could not unlock app", that means the error is thrown when migrating the mnemonic after the user has updated to 1.1.0 and tries to unlock their wallet, at the step of the mnemonic migration. Specifically, it fails to validate the deprecated mnemonic.

nop33 commented 3 days ago

Still unsure why this happens. In this commit https://github.com/alephium/alephium-frontend/commit/a6c7c5e685740e8cc68491d8f9fc50808c97de07 we will redirect to pin login if this error happens, hoping to fix the issue.