Ver código fonte

先写死一个 okc kcc 币

DevYK 2 anos atrás
pai
commit
1e002a1207
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      model/moralis_sdk.js

+ 2 - 2
model/moralis_sdk.js

@@ -1196,10 +1196,10 @@ function filterZeroPrice(ret, chain) {
                 })
                 switch (chain) {
                     case utils.CHAIN_NAME.okc_mainnet:
-                        newPrices.push({ contract: '0x8526492CEdB445153985aAEDd9245a8Cfd457F10', usdPrice: '0.00000001' })
+                        newPrices.push({ contract: '0x8526492CEdB445153985aAEDd9245a8Cfd457F10', usdPrice: 0.00000001 })
                         break
                     case utils.CHAIN_NAME.kcc_mainnet:
-                        newPrices.push({ contract: '0x2fF83F6deF585d1F13c477C9C0c83181F074A042', usdPrice: '0.00000001' })
+                        newPrices.push({ contract: '0x2fF83F6deF585d1F13c477C9C0c83181F074A042', usdPrice: 0.00000001 })
                         break
                 }
                 newret.tokenPrice = newPrices;