Skip to content

Commit

Permalink
Merge pull request #16299 from carlosmiei/fix-parseLeverageTiers
Browse files Browse the repository at this point in the history
fix parseLeverageTiers
  • Loading branch information
kroitor committed Jan 2, 2023
2 parents 6f41b42 + 100966a commit ed5f034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/base/Exchange.js
Expand Up @@ -1867,7 +1867,7 @@ module.exports = class Exchange {
for (let i = 0; i < response.length; i++) {
const item = response[i];
const id = this.safeString (item, marketIdKey);
const market = this.safeMarket (id);
const market = this.safeMarket (id, undefined, undefined, this.safeString (this.options, 'defaultType'));
const symbol = market['symbol'];
const contract = this.safeValue (market, 'contract', false);
if (contract && ((symbols === undefined) || this.inArray (symbol, symbols))) {
Expand Down

0 comments on commit ed5f034

Please sign in to comment.