Skip to content

Commit

Permalink
fix(upgrade): fix typo on proposal TypeUrl value (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKetmo committed Sep 30, 2023
1 parent 45a86e0 commit 23433ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/watcher/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (w *UpgradeWatcher) checkUpgradeProposals(ctx context.Context, node *rpc.No
cdc := codec.New(1)

switch proposal.Content.TypeUrl {
case "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal":
case "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal":
var upgrade types.SoftwareUpgradeProposal
err := cdc.Unmarshal(proposal.Content.Value, &upgrade)
if err != nil {
Expand Down

0 comments on commit 23433ae

Please sign in to comment.