From 100966a5d0ab2751b9e91c956086e0ed6ca8a42d Mon Sep 17 00:00:00 2001 From: carlosmiei <43336371+carlosmiei@users.noreply.github.com> Date: Mon, 2 Jan 2023 11:53:03 +0000 Subject: [PATCH] fix parseLeverageTiers --- js/base/Exchange.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/base/Exchange.js b/js/base/Exchange.js index fdf519632dc2..8abc7e02675d 100644 --- a/js/base/Exchange.js +++ b/js/base/Exchange.js @@ -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))) {