Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arijitAD committed Aug 19, 2021
1 parent bb08d5d commit 5279545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func NewApp(
}

func (app *AkashApp) registerUpgradeHandlers() {
app.keeper.upgrade.SetUpgradeHandler("akash_v0.13.0-cosmos_v0.43.0", func(ctx sdk.Context,
app.keeper.upgrade.SetUpgradeHandler("akash_v0.13.0_cosmos_v0.43.0", func(ctx sdk.Context,
plan upgradetypes.Plan, _ module.VersionMap) (module.VersionMap, error) {
// 1st-time running in-store migrations, using 1 as fromVersion to
// avoid running InitGenesis.
Expand Down
2 changes: 1 addition & 1 deletion sdkutil/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sdkutil
import sdk "github.com/cosmos/cosmos-sdk/types"

// MustAccAddressFromBech32 creates an AccAddress from a Bech32 string.
// It internally calls `sdk.AccAddressFromBech32` and ignores the error.
// It panics if there is an error.
func MustAccAddressFromBech32(address string) sdk.AccAddress {
addr, err := sdk.AccAddressFromBech32(address)
if err != nil {
Expand Down

0 comments on commit 5279545

Please sign in to comment.