Skip to content

Commit

Permalink
Update processOrders.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Jan 23, 2025
1 parent 10f4902 commit d7f59e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/processOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Token } from "sushi/currency";
import { quoteSingleOrder } from "./order";
import { createViemClient } from "./config";
import { arbAbis, orderbookAbi } from "./abis";
import { getGasPrice, getQuoteGas } from "./gas";
import { getGasPrice } from "./gas";
import { getSigner, handleTransaction } from "./tx";
import { privateKeyToAccount } from "viem/accounts";
import { BigNumber, Contract, ethers } from "ethers";
Expand Down Expand Up @@ -442,8 +442,8 @@ export async function processPair(args: {
await quoteSingleOrder(
orderPairObject,
viemClient as any as ViemClient,
undefined,
isE2eTest ? config.quoteGas : await getQuoteGas(config, orderPairObject),
// undefined,
// isE2eTest ? config.quoteGas : await getQuoteGas(config, orderPairObject),
);
if (orderPairObject.takeOrders[0].quote?.maxOutput.isZero()) {
result.report = {
Expand Down

0 comments on commit d7f59e8

Please sign in to comment.