Skip to content

Commit

Permalink
chore(config): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Aug 13, 2024
1 parent 274c4ee commit d282ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func TestBaseConfig() BaseConfig {
cfg.chainID = factory.DefaultTestChainID
cfg.Mode = ModeValidator
cfg.DBBackend = "memdb"
cfg.DeadlockDetection = 10*time.Second
cfg.DeadlockDetection = 10 * time.Second
return cfg
}

Expand Down Expand Up @@ -350,7 +350,7 @@ func (cfg BaseConfig) ValidateBasic() error {
if cfg.DeadlockDetection < 0 {
return errors.New("deadlock-detection can't be negative")
}

return nil
}

Expand Down

0 comments on commit d282ce2

Please sign in to comment.