group cfgs
This commit is contained in:
parent
3098791ad9
commit
3b61e009f8
@ -37,11 +37,7 @@ use web3_proxy::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "deadlock")]
|
#[cfg(feature = "deadlock")]
|
||||||
use parking_lot::deadlock;
|
use {parking_lot::deadlock, std::thread, tokio::time::Duration};
|
||||||
#[cfg(feature = "deadlock")]
|
|
||||||
use std::thread;
|
|
||||||
#[cfg(feature = "deadlock")]
|
|
||||||
use tokio::time::Duration;
|
|
||||||
|
|
||||||
#[derive(Debug, FromArgs)]
|
#[derive(Debug, FromArgs)]
|
||||||
/// Command line interface for admins to interact with web3_proxy
|
/// Command line interface for admins to interact with web3_proxy
|
||||||
|
@ -341,9 +341,10 @@ impl ConnectionsGroup {
|
|||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let _ = maybe_head_block.hash();
|
{
|
||||||
#[cfg(debug_assertions)]
|
let _ = maybe_head_block.hash();
|
||||||
let _ = maybe_head_block.number();
|
let _ = maybe_head_block.number();
|
||||||
|
}
|
||||||
|
|
||||||
Ok(ConsensusWeb3Rpcs {
|
Ok(ConsensusWeb3Rpcs {
|
||||||
tier: *tier,
|
tier: *tier,
|
||||||
|
Loading…
Reference in New Issue
Block a user