From 15061e2f5463abeb2e60a637ebd69c26adad0936 Mon Sep 17 00:00:00 2001 From: Chenyao Yu <4844716+chenyaoy@users.noreply.github.com> Date: Thu, 6 Jun 2024 16:43:14 -0400 Subject: [PATCH] fix --- indexer/services/vulcan/src/handlers/order-replace-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/services/vulcan/src/handlers/order-replace-handler.ts b/indexer/services/vulcan/src/handlers/order-replace-handler.ts index 51dce4119c..f692f39db0 100644 --- a/indexer/services/vulcan/src/handlers/order-replace-handler.ts +++ b/indexer/services/vulcan/src/handlers/order-replace-handler.ts @@ -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,