Skip to content

Commit

Permalink
fix event emmission
Browse files Browse the repository at this point in the history
  • Loading branch information
jcompagni10 committed Sep 19, 2024
1 parent cd96d7e commit 1a50fc9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/dex/keeper/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ func (k Keeper) GetPoolIDByParams(
func (k Keeper) UpdatePool(ctx sdk.Context, pool *types.Pool) {
k.UpdatePoolReserves(ctx, pool.LowerTick0)
k.UpdatePoolReserves(ctx, pool.UpperTick1)

ctx.EventManager().EmitEvent(types.CreateTickUpdatePoolReserves(*pool.UpperTick1))
}

// GetPoolCount get the total number of pools
Expand Down

0 comments on commit 1a50fc9

Please sign in to comment.