From 6461d3793218a4c5d4794281aa4190efb091d58f Mon Sep 17 00:00:00 2001 From: charliec Date: Sat, 9 Sep 2023 00:42:52 -0500 Subject: [PATCH] fix wrong GasPrice ticker --- zetaclient/evm_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zetaclient/evm_client.go b/zetaclient/evm_client.go index d14a6784d4..5e5781f5c0 100644 --- a/zetaclient/evm_client.go +++ b/zetaclient/evm_client.go @@ -903,7 +903,7 @@ func (ob *EVMChainClient) WatchGasPrice() { height, _ := ob.zetaClient.GetBlockHeight() ob.logger.WatchGasPrice.Error().Err(err).Msgf("PostGasPrice error at zeta block : %d ", height) } - ticker.UpdateInterval(ob.GetCoreParams().InTxTicker, ob.logger.WatchGasPrice) + ticker.UpdateInterval(ob.GetCoreParams().GasPriceTicker, ob.logger.WatchGasPrice) case <-ob.stop: ob.logger.WatchGasPrice.Info().Msg("WatchGasPrice stopped") return