wallet: rpc; dont allow startup with missing ssl params

This commit is contained in:
nahuhh
2026-07-08 13:37:15 +00:00
parent a523e9da2c
commit 4036e1459d
+9
View File
@@ -4988,6 +4988,15 @@ public:
if (!wallet_dir.empty()) 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; wal = NULL;
goto just_dir; goto just_dir;
} }