diff --git a/js/poloniex.js b/js/poloniex.js index 5a2305d3169e..cb640ec01efc 100644 --- a/js/poloniex.js +++ b/js/poloniex.js @@ -192,7 +192,7 @@ module.exports = class poloniex extends Exchange { 'XMR': 0.0001, 'USDT': 1.0, }[quote]; - if (type minimalCost === 'undefined') { + if (typeof minimalCost === 'undefined') { minimalCost = 0.00000000; } result.push (this.extend (this.fees['trading'], {