Make sure to init from phrase when trying a new server during restore in first time wizard

This commit is contained in:
Duke
2023-03-26 08:18:19 -07:00
parent 89bf5b0f7c
commit ad5b294d95

View File

@@ -745,7 +745,8 @@ bool RestoreSeedPage::validatePage() {
qDebug() << __func__ << ": new server is " << parent->server;
// retry with the new server
char* resp = litelib_initialize_new(parent->dangerous,parent->server.toStdString().c_str());
char* resp = litelib_initialize_new_from_phrase(parent->dangerous, parent->server.toStdString().c_str(),
seed.toStdString().c_str(), birthday, number);
reply = litelib_process_response(resp);
}