mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 03:29:24 +00:00
windowmanager: store seed attributes immediately
This commit is contained in:
parent
c2701c00dd
commit
d375484c2f
1 changed files with 2 additions and 0 deletions
|
@ -371,6 +371,8 @@ void WindowManager::tryCreateWallet(Seed seed, const QString &path, const QStrin
|
|||
|
||||
wallet->setCacheAttribute("feather.seed", seed.mnemonic.join(" "));
|
||||
wallet->setCacheAttribute("feather.seedoffset", seedOffset);
|
||||
// Store attributes now, so we don't lose them on crash / forced exit
|
||||
wallet->store();
|
||||
|
||||
if (newWallet) {
|
||||
wallet->setNewWallet();
|
||||
|
|
Loading…
Reference in a new issue