Revert "Ensure ringdb is written after wallet creation"

This reverts commit d52df3b94e.

Regression: must ensure wallet is stored before opening it again.
This commit is contained in:
tobtoht
2022-06-26 15:39:09 +02:00
parent 1e4e9a2674
commit b1c447519e
2 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -279,8 +279,7 @@ void WindowManager::tryCreateWallet(Seed seed, const QString &path, const QStrin
wallet->setCacheAttribute("feather.seed", seed.mnemonic.join(" "));
wallet->setCacheAttribute("feather.seedoffset", seedOffset);
wallet->deleteLater();
this->tryOpenWallet(path, password);
this->onWalletOpened(wallet);
}
void WindowManager::tryCreateWalletFromDevice(const QString &path, const QString &password, const QString &deviceName, int restoreHeight)