rpc: fix 'use_bootstrap_daemon_if_necessary' return value

This commit is contained in:
xiphon 2020-04-27 10:32:33 +00:00
parent 57854a3e21
commit 119f706921

View File

@ -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)