no need for this clone

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

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