Skip to content

Commit

Permalink
rm unused code (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
dydxwill authored May 16, 2024
1 parent 0eac505 commit fe545e2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions indexer/services/vulcan/src/handlers/order-update-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ export class OrderUpdateHandler extends Handler {
return;
}

if (updateResult.updated !== true) {
logger.info({
at: 'OrderUpdateHandler#handle',
message: 'Received order update for order that does not exist, order id ' +
`${JSON.stringify(orderUpdate.orderId!)}`,
update,
updateResult,
});
stats.increment(`${config.SERVICE_NAME}.order_update_order_does_not_exist`, 1);
return;
}

const clobPairId: string = orderUpdate.orderId!.clobPairId.toString();
if (orderUpdate.totalFilledQuantums.gte(updateResult.order!.order!.quantums)) {
// TODO(IND-147): Remove once fully-filled orders are removed.
Expand Down

0 comments on commit fe545e2

Please sign in to comment.