fix number overflow

This commit is contained in:
tjs 2023-02-21 17:17:25 -05:00
parent 704018c616
commit fd73581483
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ const OpenOrders = () => {
market = group.getPerpMarketByMarketIndex(o.perpMarketIndex)
tickSize = market.tickSize
minOrderSize = market.minOrderSize
expiryTimestamp = o.expiryTimestamp.toNumber()
expiryTimestamp = Number(o.expiryTimestamp.toString())
} else {
market = group.getSerum3MarketByExternalMarket(
new PublicKey(marketPk)