@icgio/icg-utils 1.7.61 → 1.7.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/crypto-rates.js +1 -1
- package/package.json +1 -1
package/lib/crypto-rates.js
CHANGED
|
@@ -342,7 +342,7 @@ let get_crypto_rates = (cb, pair_or_pairs_or_cur_curs, type, source = 'coingecko
|
|
|
342
342
|
try {
|
|
343
343
|
const asks = res.body.data.a
|
|
344
344
|
const bids = res.body.data.b
|
|
345
|
-
let rate =
|
|
345
|
+
let rate = parseFloat(asks[0][0])
|
|
346
346
|
result.GPT = {
|
|
347
347
|
USD: rate,
|
|
348
348
|
USDT: rate,
|