mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
Merge pull request #10870
4036e14 wallet: rpc; dont allow startup with missing ssl params (nahuhh)
ACKs: selsta, SNeedlewoods
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user