mirror of
https://github.com/ZigZagExchange/zksync-lite-market-maker.git
synced 2025-12-18 15:44:29 +01:00
bug fix string quantity
This commit is contained in:
@@ -24,6 +24,8 @@ const openOrders = {};
|
||||
|
||||
const CHAIN_ID = parseInt(process.env.CHAIN_ID);
|
||||
const MARKET_PAIRS = process.env.PAIR_WHITELIST.split(",")
|
||||
console.log("PAIR WHITELIST: ", process.env.PAIR_WHITELIST);
|
||||
|
||||
const CURRENCY_INFO = {
|
||||
"ETH": {
|
||||
decimals: 18,
|
||||
@@ -221,7 +223,7 @@ async function sendfillrequest(orderreceipt) {
|
||||
tokenBuy,
|
||||
amount: syncProvider.tokenSet.parseToken(
|
||||
tokenSell,
|
||||
sellQuantity
|
||||
sellQuantity.toString()
|
||||
),
|
||||
ratio: zksync.utils.tokenRatio(tokenRatio),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user