wallet_rpc_server: adding missing return on error in set_daemon

This commit is contained in:
moneromooo-monero 2019-04-24 17:29:24 +00:00
parent 9074c0d8cf
commit 98fb98f93f
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -4152,6 +4152,7 @@ namespace tools
{
er.code = WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION;
er.message = "SSL is enabled but no user certificate or fingerprints were provided";
return false;
}
if (!m_wallet->set_daemon(req.address, boost::none, req.trusted, std::move(ssl_options)))