rpc: fix 'use_bootstrap_daemon_if_necessary' return value
This commit is contained in:
parent
57854a3e21
commit
119f706921
|
@ -1985,7 +1985,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)
|
||||||
|
|
Loading…
Reference in New Issue