fix number overflow
This commit is contained in:
parent
704018c616
commit
fd73581483
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue