rpc: fix 'use_bootstrap_daemon_if_necessary' return value

This commit is contained in:
xiphon 2020-04-27 10:32:33 +00:00 committed by wowario
parent 30ed4a23bf
commit a0048e2a49
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 1 additions and 1 deletions

View File

@ -1990,7 +1990,7 @@ namespace cryptonote
r = false; r = false;
} }
res.untrusted = true; 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) 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)