diff --git a/x/gov/proposals.go b/x/gov/proposals.go index bb6b0aed4c71..61aafe577c73 100644 --- a/x/gov/proposals.go +++ b/x/gov/proposals.go @@ -167,11 +167,11 @@ func (pt *ProposalKind) UnmarshalJSON(data []byte) error { // Turns VoteOption byte to String func (pt ProposalKind) String() string { switch pt { - case 0x00: + case ProposalTypeText: return "Text" - case 0x01: + case ProposalTypeParameterChange: return "ParameterChange" - case 0x02: + case ProposalTypeSoftwareUpgrade: return "SoftwareUpgrade" default: return ""