Skip to content

Commit

Permalink
Merge pull request #2992 from coincheckup/cointiger-fetchTickers-mark…
Browse files Browse the repository at this point in the history
…et-fix

CoinTiger fetchTickers() fix to supply found market to parseTicker
  • Loading branch information
kroitor committed May 30, 2018
2 parents 4033f8a + c48e41b commit e34b6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/cointiger.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ module.exports = class cointiger extends huobipro {
if (id in this.options['marketsByUppercaseId']) {
// this endpoint returns uppercase ids
symbol = this.options['marketsByUppercaseId'][id]['symbol'];
market = this.options['marketsByUppercaseId'][id];
}
result[symbol] = this.parseTicker (response[id], market);
}
Expand Down

0 comments on commit e34b6df

Please sign in to comment.