Skip to content

Commit

Permalink
fix wrong GasPrice ticker
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Sep 9, 2023
1 parent ef66953 commit 6461d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/evm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6461d37

Please sign in to comment.