diff options
author | xiphon <xiphon@protonmail.com> | 2020-04-27 10:32:33 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-04-27 10:32:33 +0000 |
commit | 119f706921d8e8410c80f0ecde0785dcf2037d18 (patch) | |
tree | b53971d0f0788a2942a1cc38ee77858dcf77d194 /src | |
parent | Merge pull request #6314 (diff) | |
download | monero-119f706921d8e8410c80f0ecde0785dcf2037d18.tar.xz |
rpc: fix 'use_bootstrap_daemon_if_necessary' return value
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 1fd0c037b..2daac35db 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -1985,7 +1985,7 @@ namespace cryptonote r = false; } res.untrusted = true; - return true; + return r; } //------------------------------------------------------------------------------------------------------------------------------ bool core_rpc_server::on_get_last_block_header(const COMMAND_RPC_GET_LAST_BLOCK_HEADER::request& req, COMMAND_RPC_GET_LAST_BLOCK_HEADER::response& res, epee::json_rpc::error& error_resp, const connection_context *ctx) |