add blocktime for binance
This commit is contained in:
parent
dc6e0559f7
commit
a275e2dee4
@ -297,6 +297,8 @@ impl Web3RpcConfig {
|
|||||||
1 => Duration::from_secs(12),
|
1 => Duration::from_secs(12),
|
||||||
// ethereum-goerli
|
// ethereum-goerli
|
||||||
5 => Duration::from_secs(12),
|
5 => Duration::from_secs(12),
|
||||||
|
// binance
|
||||||
|
56 => Duration::from_secs(3),
|
||||||
// polygon
|
// polygon
|
||||||
137 => Duration::from_secs(2),
|
137 => Duration::from_secs(2),
|
||||||
// fantom
|
// fantom
|
||||||
@ -307,7 +309,7 @@ impl Web3RpcConfig {
|
|||||||
_ => {
|
_ => {
|
||||||
let default = 10;
|
let default = 10;
|
||||||
warn!(
|
warn!(
|
||||||
"unexpected chain_id ({}). polling every {} seconds",
|
"unknown chain_id ({}). defaulting polling every {} seconds",
|
||||||
chain_id, default
|
chain_id, default
|
||||||
);
|
);
|
||||||
Duration::from_secs(default)
|
Duration::from_secs(default)
|
||||||
|
Loading…
Reference in New Issue
Block a user