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

Commit

Permalink
round validTo UP @alfetopito
Browse files Browse the repository at this point in the history
  • Loading branch information
W3stside committed Dec 7, 2021
1 parent c3d23a8 commit 3b44af4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function _getOrderPrice(chainId: ChainId, order: Order, strategy: GpPriceS
quoteToken,
fromDecimals: order.inputToken.decimals,
toDecimals: order.outputToken.decimals,
validTo: Date.now() / 1000 + 3000,
validTo: Math.ceil(Date.now() / 1000 + 3000),
}

try {
Expand Down

1 comment on commit 3b44af4

@alfetopito
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What did I do here?

Please sign in to comment.