Skip to content

Commit

Permalink
chore: made review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-kanna committed Feb 9, 2024
1 parent 21dea69 commit 7e3f947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/upgrades/v2.4.0/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ func ExecuteProposal(ctx sdk.Context, ak auth.AccountKeeper, bk bank.Keeper) err
// get airdrop claim module account
addr := ak.GetModuleAddress(claimtypes.ModuleName)

// get the balances from the airdrop claim module account
// get all balances of airdrop claim module account
balances := bk.GetAllBalances(ctx, addr)

// claim moudle account do not have the burner permissions
// claim module account do not have the burner permissions
// so we are sending it to the another module account and burning the tokens
if err := bk.SendCoinsFromModuleToModule(ctx, claimtypes.ModuleName, govtypes.ModuleName, balances); err != nil {
return err
Expand Down

0 comments on commit 7e3f947

Please sign in to comment.