that simpler param doesn't work everywhere
This commit is contained in:
parent
ec7c8f0434
commit
eab3aa7943
@ -314,7 +314,7 @@ impl Web3Rpc {
|
|||||||
let head_block_num = self
|
let head_block_num = self
|
||||||
.internal_request::<_, U256>(
|
.internal_request::<_, U256>(
|
||||||
"eth_blockNumber",
|
"eth_blockNumber",
|
||||||
&(),
|
&None::<()>,
|
||||||
// error here are expected, so keep the level low
|
// error here are expected, so keep the level low
|
||||||
Some(Level::DEBUG.into()),
|
Some(Level::DEBUG.into()),
|
||||||
Some(Duration::from_secs(5)),
|
Some(Duration::from_secs(5)),
|
||||||
@ -429,7 +429,7 @@ impl Web3Rpc {
|
|||||||
let found_chain_id: U64 = self
|
let found_chain_id: U64 = self
|
||||||
.internal_request(
|
.internal_request(
|
||||||
"eth_chainId",
|
"eth_chainId",
|
||||||
&(),
|
&None::<()>,
|
||||||
Some(Level::TRACE.into()),
|
Some(Level::TRACE.into()),
|
||||||
Some(Duration::from_secs(5)),
|
Some(Duration::from_secs(5)),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user