Portable mode: set ringdb path

This commit is contained in:
tobtoht
2022-06-22 21:37:27 +02:00
parent 026dae8591
commit 1ae8009329
11 changed files with 58 additions and 30 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
#include "model/AddressBookModel.h"
#include "model/TransactionHistoryModel.h"
#include "utils/brute.h"
#include "utils/Utils.h"
#include "constants.h"
CLI::CLI(Mode mode, QCommandLineParser *cmdargs, QObject *parent)
@@ -34,7 +35,7 @@ CLI::CLI(Mode mode, QCommandLineParser *cmdargs, QObject *parent)
QString password = cmdargs->value("password");
m_walletManager->openWalletAsync(walletFile, password, constants::networkType);
m_walletManager->openWalletAsync(walletFile, password, constants::networkType, constants::kdfRounds, Utils::ringDatabasePath());
}
else if (mode == Mode::BruteforcePassword)
{