Appease clippy in Rust 1.70 (#4365)

## Issue Addressed

NA

## Proposed Changes

Fixes some new clippy lints raised after updating to Rust 1.70.

## Additional Info

NA
This commit is contained in:
Paul Hauner
2023-06-02 03:17:40 +00:00
parent 4af4e98c82
commit d07c78bccf
5 changed files with 6 additions and 6 deletions

View File

@@ -146,7 +146,7 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
context
.clone()
.executor
.spawn_without_exit(async move { server.await }, "metrics-api");
.spawn_without_exit(server, "metrics-api");
Some(ctx)
} else {
@@ -590,7 +590,7 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
self.context
.clone()
.executor
.spawn_without_exit(async move { server.await }, "http-api");
.spawn_without_exit(server, "http-api");
Some(listen_addr)
} else {