electracoin-ECA / electra-desktop

[DEPRECATED]- To be used only on specific request from the Electra team
https://electraproject.org
MIT License
17 stars 9 forks source link

app/login/container: fix last missing unlock() in setup #62

Closed ivangabriele closed 6 years ago

Hyjaz commented 6 years ago

This doesn't work. We still can't unlock after the first time.

Hyjaz commented 6 years ago

I think we need to add a variable that will check if a mnemonic has already been generated. Then in the login, we simply check isMnemonicGenerated: boolean if true we pass the generateHdWallet() and if not true we create a new one. @ivangabriele