aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-05-06 00:29:49 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-05-06 00:29:49 -0500
commitde025281dc89014590f5d116e54b1662abdf38d3 (patch)
treef29397772cf1333d4e9c6471d0587951eac3dde4 /src/rpc/core_rpc_server.cpp
parentMerge pull request #6480 (diff)
parentrpc: fix 'use_bootstrap_daemon_if_necessary' return value (diff)
downloadmonero-de025281dc89014590f5d116e54b1662abdf38d3.tar.xz
Merge pull request #6481
119f706 rpc: fix 'use_bootstrap_daemon_if_necessary' return value (xiphon)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index a789a7a1a..82a7234d1 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -1990,7 +1990,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)