Skip to content

Commit

Permalink
Remove duplicate types.EventTypeInflationStop emit
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Oct 31, 2023
1 parent ff2ce48 commit 8e34a60
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions x/community/keeper/disable_inflation.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ func (k Keeper) CheckAndDisableMintAndKavaDistInflation(ctx sdk.Context) {

logger.Info("disable inflation upgrade finished successfully!")

ctx.EventManager().EmitEvent(
sdk.NewEvent(
types.EventTypeInflationStop,
),
)

// reset disable inflation time to ensure next call is a no-op
params.UpgradeTimeDisableInflation = time.Time{}
// set staking rewards to provided intial value
Expand Down

0 comments on commit 8e34a60

Please sign in to comment.