diff --git a/package.json b/package.json index 717fded..7f0e24a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "start": "node ./src/app.js", "dev": "nodemon ./dist/app.js", - "test": "npm run lint && npm run test-v4", + "test": "npm run lint && npm run test-v5", "lint": "standard --env mocha --fix", "test-v4": "export NETWORK=mainnet && nyc --reporter=text mocha --exit --timeout 60000 test/v4/", "test-v5": "export NETWORK=mainnet && nyc --reporter=text mocha --exit --timeout 60000 test/v5/", diff --git a/src/routes/v4/price.js b/src/routes/v4/price.js index 5156458..7a2aef3 100644 --- a/src/routes/v4/price.js +++ b/src/routes/v4/price.js @@ -25,7 +25,7 @@ class Price { this.priceUrl = 'https://api.coinbase.com/v2/exchange-rates?currency=BCH' this.coinexPriceUrl = - 'https://api.coinex.com/v1/market/ticker?market=bchausdt' + 'https://api.coinex.com/v1/market/ticker?market=xecusdt' this.bchCoinexPriceUrl = 'https://api.coinex.com/v1/market/ticker?market=bchusdt' diff --git a/src/routes/v5/price.js b/src/routes/v5/price.js index c426475..8053eee 100644 --- a/src/routes/v5/price.js +++ b/src/routes/v5/price.js @@ -25,7 +25,7 @@ class Price { this.priceUrl = 'https://api.coinbase.com/v2/exchange-rates?currency=BCH' this.coinexPriceUrl = - 'https://api.coinex.com/v1/market/ticker?market=bchausdt' + 'https://api.coinex.com/v1/market/ticker?market=xecusdt' this.bchCoinexPriceUrl = 'https://api.coinex.com/v1/market/ticker?market=bchusdt'