Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyaoy committed Jun 6, 2024
1 parent e4bb2dd commit 15061e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class OrderReplaceHandler extends Handler {
) {
// Don't send orderbook message if price is the same to prevent flickering because
// the order update will send the correct size update
const sendOrderbookMessage = (redisOrder.price === removeOrderResult.removedOrder!.price);
const sendOrderbookMessage = (redisOrder.price !== removeOrderResult.removedOrder!.price);
await this.removeOldOrderFromOrderbook(
removeOrderResult,
perpetualMarket,
Expand Down

0 comments on commit 15061e2

Please sign in to comment.