mirror of
https://github.com/status-im/status-react.git
synced 2025-01-29 12:16:36 +00:00
3fce002213
As discussed in #10326 and later in https://github.com/status-im/status-go/issues/1939, it turns out that, when a user tries to add an account (from a seed phrase), while an account with the same address (that the seed phrase would result in) exists in the application state, the application would still go ahead and store the derived account in status-go. After that it still reports to the user that the 'Account already exits'. This commit ensures that Status doesn't try to store the derived account when the account already exists in the application database. Fixes #10326 Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>