From b5ae11b7f71e5994f6d590fc657ed91a561eb939 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 24 Jun 2023 21:21:51 -0700 Subject: [PATCH] lint --- web3_proxy/src/bin/web3_proxy_cli/proxyd.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web3_proxy/src/bin/web3_proxy_cli/proxyd.rs b/web3_proxy/src/bin/web3_proxy_cli/proxyd.rs index 21bec4f9..14b6521e 100644 --- a/web3_proxy/src/bin/web3_proxy_cli/proxyd.rs +++ b/web3_proxy/src/bin/web3_proxy_cli/proxyd.rs @@ -269,7 +269,7 @@ mod tests { }; use tokio::{ sync::broadcast::error::SendError, - task::{yield_now, JoinHandle}, + task::JoinHandle, time::{sleep, Instant}, }; use web3_proxy::{ @@ -279,8 +279,8 @@ mod tests { // TODO: put it in a thread? struct TestApp { + _anvil: AnvilInstance, handle: Mutex>>>, - anvil: AnvilInstance, anvil_provider: Provider, proxy_provider: Provider, shutdown_sender: broadcast::Sender<()>, @@ -366,10 +366,10 @@ mod tests { Self { handle: Mutex::new(Some(handle)), - anvil, anvil_provider, proxy_provider, shutdown_sender, + _anvil: anvil, } }