Skip to content

Commit

Permalink
make unit_test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXJC committed Dec 17, 2018
1 parent 993d456 commit 4910cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gov/proposal_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (sp *SoftwareUpgradeProposal) Execute(ctx sdk.Context, k Keeper) error {
}
if k.pk.IsValidProtocolVersion(ctx, sp.Version) {
logger.Info("Execute SoftwareProposal Failure", "info",
fmt.Sprintf("version [%s] in SoftwareUpgradeProposal isn't valid ", sp.ProposalID))
fmt.Sprintf("version [%v] in SoftwareUpgradeProposal isn't valid ", sp.ProposalID))
return nil
}
if uint64(ctx.BlockHeight())+1 >= sp.SwitchHeight {
Expand Down

0 comments on commit 4910cfd

Please sign in to comment.