rpc: fix 'use_bootstrap_daemon_if_necessary' return value

This commit is contained in:
xiphon
2020-05-09 11:38:49 +03:00
committed by wowario
parent 30ed4a23bf
commit a0048e2a49
+1 -1
View File
@@ -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)