mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 11:13:13 +00:00
wallet_rpc_server: adding missing return on error in set_daemon
This commit is contained in:
parent
9074c0d8cf
commit
98fb98f93f
1 changed files with 1 additions and 0 deletions
|
@ -4152,6 +4152,7 @@ namespace tools
|
||||||
{
|
{
|
||||||
er.code = WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION;
|
er.code = WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION;
|
||||||
er.message = "SSL is enabled but no user certificate or fingerprints were provided";
|
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)))
|
if (!m_wallet->set_daemon(req.address, boost::none, req.trusted, std::move(ssl_options)))
|
||||||
|
|
Loading…
Reference in a new issue