diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-24 17:29:24 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-25 23:35:37 +0000 |
commit | 98fb98f93f24344c73d57a38423eb517e5c9f37b (patch) | |
tree | 4f0c9493a435ad926059d007cf0a72f1f8f9f613 | |
parent | wallet_rpc_server: return false on error in set_log_categories (diff) | |
download | monero-98fb98f93f24344c73d57a38423eb517e5c9f37b.tar.xz |
wallet_rpc_server: adding missing return on error in set_daemon
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 1 |
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))) |