Skip to content

Commit

Permalink
refactor(testnode): remove duplicate consensus params (#3687)
Browse files Browse the repository at this point in the history
Closes #3684
  • Loading branch information
rootulp authored Jul 19, 2024
1 parent 6d90d7b commit 9407a5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/util/testnode/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ func DefaultConfig() *Config {
WithAppConfig(DefaultAppConfig()).
WithAppOptions(DefaultAppOptions()).
WithAppCreator(DefaultAppCreator()).
WithSuppressLogs(true).
// TODO: consider removing this line because default consensus params is invoked above.
WithConsensusParams(DefaultConsensusParams())
WithSuppressLogs(true)
}

func DefaultConsensusParams() *tmproto.ConsensusParams {
Expand Down

0 comments on commit 9407a5b

Please sign in to comment.