fix to find hush wallet.dat at startup

This commit is contained in:
DenioD
2019-10-27 10:54:23 +01:00
parent 3f9fd047fd
commit 09a7682afd
8 changed files with 4136 additions and 21 deletions

View File

@@ -56,14 +56,11 @@ void ConnectionLoader::doAutoConnect() {
if (response.toUpper().trimmed() != "OK") {
showError(response);
return;
return;
}
} else {
main->logger->write(QObject::tr("Create/restore wallet."));
char* resp = litelib_initialize_existing(config->dangerous, config->server.toStdString().c_str());
QString response = litelib_process_response(resp);
createOrRestore(config->dangerous, config->server);
d->show();
}