From 178d7d3bb44aa2b445efac9d33bb54706511e72a Mon Sep 17 00:00:00 2001 From: Paul Hauner <paul@paulhauner.com> Date: Mon, 28 Sep 2020 17:34:27 +1000 Subject: [PATCH] Fix clippy lint --- beacon_node/http_api/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/http_api/src/lib.rs b/beacon_node/http_api/src/lib.rs index 5efe67c7611..9d93aa47337 100644 --- a/beacon_node/http_api/src/lib.rs +++ b/beacon_node/http_api/src/lib.rs @@ -1427,7 +1427,7 @@ pub fn serve<T: BeaconChainTypes>( .and(warp::path("validator")) .and(warp::path("aggregate_and_proofs")) .and(warp::path::end()) - .and(not_while_syncing_filter.clone()) + .and(not_while_syncing_filter) .and(chain_filter.clone()) .and(warp::body::json()) .and(network_tx_filter.clone())