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

Commit

Permalink
timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
W3stside committed Dec 15, 2021
1 parent 46fd450 commit eb33b36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/custom/state/orders/updaters/UnfillableOrdersUpdater.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useCallback, useEffect, useRef } from 'react'
import { timestamp } from '@gnosis.pm/gp-v2-contracts'

import { useActiveWeb3React } from 'hooks/web3'

Expand Down Expand Up @@ -42,7 +43,7 @@ async function _getOrderPrice(chainId: ChainId, order: Order, strategy: GpPriceS
quoteToken,
fromDecimals: order.inputToken.decimals,
toDecimals: order.outputToken.decimals,
validTo: order.validTo as number,
validTo: timestamp(order.validTo),
}

try {
Expand Down

0 comments on commit eb33b36

Please sign in to comment.