Skip to content

Commit

Permalink
add missed proposal type
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoyangLiu committed Dec 31, 2020
1 parent 11c033f commit 91aee19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x/gov/client/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ func NormalizeProposalType(proposalType string) string {
return "CreateValidator"
case "RemoveValidator", "remove_validator":
return "RemoveValidator"
case "SCParamsChange", "sc_params_change":
return "SCParamsChange"
case "CSCParamsChange", "csc_params_change":
return "CSCParamsChange"
case "ManageChanPermission", "manage_chan_permission":
return "ManageChanPermission"
}
return ""
}
Expand Down

0 comments on commit 91aee19

Please sign in to comment.