group cfgs

This commit is contained in:
Bryan Stitt 2023-03-02 17:50:20 -08:00
parent 3098791ad9
commit 3b61e009f8
2 changed files with 5 additions and 8 deletions

View File

@ -37,11 +37,7 @@ use web3_proxy::{
};
#[cfg(feature = "deadlock")]
use parking_lot::deadlock;
#[cfg(feature = "deadlock")]
use std::thread;
#[cfg(feature = "deadlock")]
use tokio::time::Duration;
use {parking_lot::deadlock, std::thread, tokio::time::Duration};
#[derive(Debug, FromArgs)]
/// Command line interface for admins to interact with web3_proxy

View File

@ -341,9 +341,10 @@ impl ConnectionsGroup {
.collect();
#[cfg(debug_assertions)]
let _ = maybe_head_block.hash();
#[cfg(debug_assertions)]
let _ = maybe_head_block.number();
{
let _ = maybe_head_block.hash();
let _ = maybe_head_block.number();
}
Ok(ConsensusWeb3Rpcs {
tier: *tier,