mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 22:44:24 +00:00
update validate/complete logic for consensus params
This commit is contained in:
+1
-1
@@ -269,7 +269,7 @@ func (c *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes
|
||||
}
|
||||
|
||||
// Validate res.
|
||||
if err := res.ConsensusParams.ValidateConsensusParams(); err != nil {
|
||||
if err := res.ConsensusParams.Validate(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if res.BlockHeight <= 0 {
|
||||
|
||||
Reference in New Issue
Block a user