Skip to content

Commit

Permalink
fixed coinmarketcap fetchTicker
Browse files Browse the repository at this point in the history
  • Loading branch information
tankakatan committed Jun 6, 2018
1 parent 12fb141 commit 7a42bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/coinmarketcap.js
Expand Up @@ -222,7 +222,7 @@ module.exports = class coinmarketcap extends Exchange {
let tickers = {};
for (let t = 0; t < response.length; t++) {
let ticker = response[t];
let currencyId = (currency in this.currencies) ? this.currencies[currency]['id'] : currency.toLowerCase ();
let currencyId = currency.toLowerCase ();
let id = ticker['id'] + '/' + currencyId;
let symbol = id;
let market = undefined;
Expand Down

0 comments on commit 7a42bb2

Please sign in to comment.