diff --git a/types/params.go b/types/params.go index 28ba96362..a52b3d805 100644 --- a/types/params.go +++ b/types/params.go @@ -457,6 +457,7 @@ func (params *ConsensusParams) ToProto() tmproto.ConsensusParams { } } +// ConsensusParamsFromProto returns a ConsensusParams from a protobuf representation. func ConsensusParamsFromProto(pbParams tmproto.ConsensusParams) ConsensusParams { c := ConsensusParams{}