mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
wallet: rpc; dont allow startup with missing ssl params
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user