From 4036e1459df83a5fa75f898975f029bf72b3cc99 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Tue, 7 Jul 2026 02:15:18 +0000 Subject: [PATCH] wallet: rpc; dont allow startup with missing ssl params --- src/wallet/wallet_rpc_server.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 2dae20fec..1ea9060f0 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -4988,6 +4988,15 @@ public: if (!wallet_dir.empty()) { + try + { + tools::wallet2::make_dummy(vm, true, password_prompt); + } + catch (const std::exception &e) + { + LOG_ERROR(tools::wallet_rpc_server::tr("Invalid configuration: ") << e.what()); + return false; + } wal = NULL; goto just_dir; }