aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-04-27 10:32:33 +0000
committerxiphon <xiphon@protonmail.com>2020-04-27 10:32:33 +0000
commit119f706921d8e8410c80f0ecde0785dcf2037d18 (patch)
treeb53971d0f0788a2942a1cc38ee77858dcf77d194 /src
parentMerge pull request #6314 (diff)
downloadmonero-119f706921d8e8410c80f0ecde0785dcf2037d18.tar.xz
rpc: fix 'use_bootstrap_daemon_if_necessary' return value
Diffstat (limited to 'src')
-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 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)