Skip to content

Commit

Permalink
feat: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
nofir committed Dec 13, 2024
1 parent 0d17e52 commit c1cdaee
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/jobs/okx-sync/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { addToRelayOrdersQueue } from "../relay-orders";
import { db, pgp } from "../../common/db";
import { logger } from "../../common/logger";
import { Okx, OkxOrder } from "../../utils/okx";
import {config} from "../../config";

export const fetchOrders = async (options: {
side: "buy" | "sell";
Expand Down Expand Up @@ -61,17 +60,6 @@ export const fetchOrders = async (options: {
const parsed = await okx.parseOrder(order);

if (parsed) {
if (config.chainId === 324) {
logger.info(
"fetch_orders_okx",
JSON.stringify({
message: `handleOrder. hash=${parsed.order.hash()}`,
order,
orderJSON: JSON.stringify(order),
})
);
}

parsedOrders.push({
kind: parsed.kind,
order: parsed.order,
Expand Down

0 comments on commit c1cdaee

Please sign in to comment.