group cfgs
This commit is contained in:
parent
3098791ad9
commit
3b61e009f8
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user