Potentially fix #120

This commit is contained in:
Duke
2023-03-28 14:04:09 -04:00
parent 77ac1f99ae
commit f46e1b4a57

View File

@@ -309,7 +309,9 @@ void NewSeedPage::initializePage() {
qDebug() << __func__ << ": new server is " << parent->server;
// retry with the new server
char* resp = litelib_initialize_new(parent->dangerous,parent->server.toStdString().c_str());
// we use litelib_initialize_existing because the call to litelib_initialize_new above
// has already created a wallet on disk
char* resp = litelib_initialize_existing(parent->dangerous,parent->server.toStdString().c_str());
reply = litelib_process_response(resp);
}