fix compilation issues

This commit is contained in:
realbigsean
2023-01-12 14:17:14 -05:00
parent 06f71e8cce
commit d96d793bfb
10 changed files with 56 additions and 6 deletions

View File

@@ -327,7 +327,7 @@ impl<T: EthSpec> ExecutionLayer<T> {
let auth = Auth::new(jwt_key, jwt_id, jwt_version);
debug!(log, "Loaded execution endpoint"; "endpoint" => %execution_url, "jwt_path" => ?secret_file.as_path());
let api =
HttpJsonRpc::new_with_auth(execution_url, auth, execution_timeout_multiplier, spec)
HttpJsonRpc::new_with_auth(execution_url, auth, execution_timeout_multiplier, &spec)
.map_err(Error::ApiError)?;
Engine::new(api, executor.clone(), &log)
};