Skip to content

Commit

Permalink
fix typo limit_order_expiration.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeyKing44 authored Jan 24, 2025
1 parent 112cdb6 commit e4d273c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/dex/keeper/limit_order_expiration.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (k Keeper) PurgeExpiredLimitOrders(ctx sdk.Context, curTime time.Time) {
if inGoodTilSegment && gasConsumed >= gasCutoff {

// If we hit our gas cutoff stop deleting so as not to timeout the block.
// We can only do this if we are proccesing normal GTT limitOrders
// We can only do this if we are processing normal GTT limitOrders
// and not JIT limit orders, since there is not protection in place
// to prevent JIT order from being traded on the next block.
// This is ok since only GT limit orders pose a meaningful attack
Expand Down

0 comments on commit e4d273c

Please sign in to comment.