Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: John Letey <[email protected]>
  • Loading branch information
boojamya and johnletey authored Dec 4, 2024
1 parent 912f83f commit e1a1b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ func NewRootCmd() *cobra.Command {
srvCfg := serverconfig.DefaultConfig()
srvCfg.MinGasPrices = "0uusdc,0ausdy,0ueure"
srvCfg.API.Enable = true
// overwrite default timeout_commit from the cometbft configuration
// overwrite default commit timeout from the cometbft configuration
cmtCfg := cmtcfg.DefaultConfig()
cmtCfg.Consensus.TimeoutCommit = (500 * time.Millisecond)
cmtCfg.Consensus.TimeoutCommit = 500 * time.Millisecond

return server.InterceptConfigsPreRunHandler(cmd, serverconfig.DefaultConfigTemplate, srvCfg, cmtCfg)
},
Expand Down

0 comments on commit e1a1b34

Please sign in to comment.