diff --git a/src/app.cpp b/src/app.cpp index b4e0f5a..3634538 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -308,13 +308,16 @@ bool App::init() }); // Check for first-run wizard — also re-run if blockchain data is missing - // even when wizard was previously completed (e.g. data dir was deleted) - if (isFirstRun()) { + // even when wizard was previously completed (e.g. data dir was deleted). + // The wizard is full-node setup (daemon + blockchain); lite has neither, and isFirstRun() + // is always true in lite (no `blocks` dir), so skip it — lite users create/open a wallet in + // Settings, guided by the "No wallet open" prompt. + if (isFirstRun() && !isLiteBuild()) { wizard_phase_ = WizardPhase::Appearance; DEBUG_LOGF("First run detected — starting wizard\n"); // Don't start daemon yet — wait for wizard completion } else { - // Normal startup — connect to daemon + // Normal startup — connect to daemon (tryConnect() is a no-op in lite builds) tryConnect(); }