aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-24 17:29:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-25 23:35:37 +0000
commit98fb98f93f24344c73d57a38423eb517e5c9f37b (patch)
tree4f0c9493a435ad926059d007cf0a72f1f8f9f613 /src/wallet/wallet_rpc_server.cpp
parentwallet_rpc_server: return false on error in set_log_categories (diff)
downloadmonero-98fb98f93f24344c73d57a38423eb517e5c9f37b.tar.xz
wallet_rpc_server: adding missing return on error in set_daemon
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index bfe57698f..b92bcc619 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -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)))