From c12e25a21099a6083e3ff014fdae430426ceaa3c Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 24 Sep 2022 02:48:23 +0000 Subject: [PATCH] no need for this clone --- web3_proxy/src/rpcs/connections.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web3_proxy/src/rpcs/connections.rs b/web3_proxy/src/rpcs/connections.rs index 04fa45a5..193792d6 100644 --- a/web3_proxy/src/rpcs/connections.rs +++ b/web3_proxy/src/rpcs/connections.rs @@ -321,11 +321,7 @@ impl Web3Connections { .into_iter() .map(|active_request_handle| async move { let result: Result, _> = active_request_handle - .request( - method, - &json!(params.cloned()), - tracing::Level::ERROR.into(), - ) + .request(method, &json!(¶ms), tracing::Level::ERROR.into()) .await; result })