no need for this clone

This commit is contained in:
Bryan Stitt 2022-09-24 02:48:23 +00:00
parent 8459dcd1f1
commit c12e25a210

View File

@ -321,11 +321,7 @@ impl Web3Connections {
.into_iter() .into_iter()
.map(|active_request_handle| async move { .map(|active_request_handle| async move {
let result: Result<Box<RawValue>, _> = active_request_handle let result: Result<Box<RawValue>, _> = active_request_handle
.request( .request(method, &json!(&params), tracing::Level::ERROR.into())
method,
&json!(params.cloned()),
tracing::Level::ERROR.into(),
)
.await; .await;
result result
}) })