Skip to content

Commit

Permalink
cometbftrpc default value
Browse files Browse the repository at this point in the history
  • Loading branch information
psiphi5 committed Sep 19, 2024
1 parent 7e1bf65 commit 2fb3b68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/cosmovisor/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ func GetConfigFromEnv(skipValidate bool) (*Config, error) {
cfg.DataBackupPath = cfg.Home
}

if cfg.CometBftRpcEndpoint == "" {
cfg.CometBftRpcEndpoint = "http://localhost:26657"
}

var err error
if cfg.AllowDownloadBinaries, err = BooleanOption(EnvDownloadBin, false); err != nil {
errs = append(errs, err)
Expand Down

0 comments on commit 2fb3b68

Please sign in to comment.