From ad5b294d95953bfe2f6061e20829da79919647a6 Mon Sep 17 00:00:00 2001 From: Duke Date: Sun, 26 Mar 2023 08:18:19 -0700 Subject: [PATCH] Make sure to init from phrase when trying a new server during restore in first time wizard --- src/firsttimewizard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/firsttimewizard.cpp b/src/firsttimewizard.cpp index 6d12b27..516bc20 100644 --- a/src/firsttimewizard.cpp +++ b/src/firsttimewizard.cpp @@ -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); }