From f46e1b4a578b3af2d4b6cbe4754959278bbfdba9 Mon Sep 17 00:00:00 2001 From: Duke Date: Tue, 28 Mar 2023 14:04:09 -0400 Subject: [PATCH] Potentially fix #120 --- src/firsttimewizard.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/firsttimewizard.cpp b/src/firsttimewizard.cpp index 94d839e..a98a281 100644 --- a/src/firsttimewizard.cpp +++ b/src/firsttimewizard.cpp @@ -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); }