Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aleem1314 committed Aug 16, 2023
1 parent a4725d9 commit 2a2c598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/upgrades/v1/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ func CreateUpgradeHandler(
ak auth.AccountKeeper,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
if err := ExecuteProposal1(ctx, dk, bk, ak); err != nil {
if err := ExecuteProposal(ctx, dk, bk, ak); err != nil {
return nil, err
}

return fromVM, nil
}
}

// ExecuteProposal1 moves community pool funds to a vesting account
func ExecuteProposal1(ctx sdk.Context, dk distribution.Keeper, bk bank.Keeper, ak auth.AccountKeeper) error {
// ExecuteProposal moves community pool funds to a multisig vesting account
func ExecuteProposal(ctx sdk.Context, dk distribution.Keeper, bk bank.Keeper, ak auth.AccountKeeper) error {
vestingAcc, err := sdk.AccAddressFromBech32("pasg105488mw9t3qtp62jhllde28v40xqxpjksjqmvx")
if err != nil {
return err
Expand Down

0 comments on commit 2a2c598

Please sign in to comment.