mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
windowmanager: store seed attributes immediately
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user