lower eth_getBlockByNumber level to Warn
This commit is contained in:
parent
79075f9974
commit
e60b9dc3fe
@ -197,7 +197,7 @@ impl Web3Connection {
|
|||||||
"eth_getBlockByNumber",
|
"eth_getBlockByNumber",
|
||||||
&json!(("latest", false)),
|
&json!(("latest", false)),
|
||||||
// error here are expected, so keep the level low
|
// error here are expected, so keep the level low
|
||||||
Level::Debug.into(),
|
Level::Warn.into(),
|
||||||
)
|
)
|
||||||
.await?
|
.await?
|
||||||
.context("no block during check_block_data_limit!")?;
|
.context("no block during check_block_data_limit!")?;
|
||||||
@ -751,7 +751,7 @@ impl Web3Connection {
|
|||||||
.request(
|
.request(
|
||||||
"eth_getBlockByNumber",
|
"eth_getBlockByNumber",
|
||||||
&json!(("latest", false)),
|
&json!(("latest", false)),
|
||||||
Level::Error.into(),
|
Level::Warn.into(),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
@ -844,7 +844,7 @@ impl Web3Connection {
|
|||||||
.request(
|
.request(
|
||||||
"eth_getBlockByNumber",
|
"eth_getBlockByNumber",
|
||||||
&json!(("latest", false)),
|
&json!(("latest", false)),
|
||||||
Level::Error.into(),
|
Level::Warn.into(),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user