diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-24 17:28:55 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-25 23:35:37 +0000 |
commit | 9074c0d8cf86a1df4d8d0e9018b75df399784fbc (patch) | |
tree | 944ac2b82c1bd85170c484d0f16673d92eb0e73c | |
parent | wallet_rpc_server: fix crash in validate_address if no wallet is loaded (diff) | |
download | monero-9074c0d8cf86a1df4d8d0e9018b75df399784fbc.tar.xz |
wallet_rpc_server: return false on error in set_log_categories
Reported by SmajeNz0
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index fc18e21e8..bfe57698f 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -4176,7 +4176,7 @@ namespace tools { er.code = WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL; er.message = "Error: log level not valid"; - return true; + return false; } mlog_set_log_level(req.level); return true; |