mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 05:46:32 +00:00
timeout parameters take the default if not set (#8189)
This commit is contained in:
@@ -113,6 +113,9 @@ func (env *Environment) ConsensusParams(ctx context.Context, heightPtr *int64) (
|
||||
return nil, err
|
||||
}
|
||||
|
||||
consensusParams.Synchrony = consensusParams.Synchrony.SynchronyParamsOrDefaults()
|
||||
consensusParams.Timeout = consensusParams.Timeout.TimeoutParamsOrDefaults()
|
||||
|
||||
return &coretypes.ResultConsensusParams{
|
||||
BlockHeight: height,
|
||||
ConsensusParams: consensusParams}, nil
|
||||
|
||||
Reference in New Issue
Block a user