Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyaoy committed Jun 5, 2024
1 parent 5758592 commit 74606d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/packages/redis/src/scripts/place_order.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ else
-- of the older order.
redis.call("set", orderKey, newOrder)
-- refer to the above comment on order data format
redis.call("set", orderDataKey, newOrderExpiry .. "_" .. oldTotalFilledQuantums .. "_false")
redis.call("set", orderDataKey, newOrderExpiry .. "_" .. oldTotalFilledQuantums .. "_true")
-- Long-term orders will be on-chain, so we only need to store expiry data for short-term orders
if isShortTermOrder then
-- The expiry is guaranteed to be different, so overwrite the old one from the expiry cache
Expand Down

0 comments on commit 74606d1

Please sign in to comment.