Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
W3stside committed Mar 14, 2022
1 parent a65fa69 commit 7011133
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/custom/state/orders/updaters/UnfillableOrdersUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { getBestQuote, PriceInformation } from 'utils/price'
import { isOrderUnfillable } from 'state/orders/utils'
import useGetGpPriceStrategy, { GpPriceStrategy } from 'hooks/useGetGpPriceStrategy'
import { getPromiseFulfilledValue } from 'utils/misc'
import { BigNumber } from '@ethersproject/bignumber'

/**
* Thin wrapper around `getBestPrice` that builds the params and returns null on failure
Expand All @@ -33,14 +32,6 @@ async function _getOrderPrice(chainId: ChainId, order: Order, strategy: GpPriceS
amount = order.sellAmountBeforeFee.toString()
baseToken = order.sellToken
quoteToken = order.buyToken

console.debug('[UNFILLABLES]::SELL AMOUNT', order.sellAmount.toString())
console.debug('[UNFILLABLES]::FEE AMOUNT', order.feeAmount.toString())
console.debug(
'[UNFILLABLES]::SELL AMOUNT + FEE AMOUNT',
BigNumber.from(order.sellAmount).add(BigNumber.from(order.feeAmount)).toString()
)
console.debug('[UNFILLABLES]::EXECUTED SELL AMOUNT BEFORE FEES', amount)
} else {
amount = order.buyAmount.toString()
baseToken = order.buyToken
Expand Down

0 comments on commit 7011133

Please sign in to comment.