Skip to content

Commit

Permalink
Fix type/typeof.
Browse files Browse the repository at this point in the history
  • Loading branch information
miracle2k committed Jun 4, 2018
1 parent b3ff965 commit c945776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/poloniex.js
Expand Up @@ -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'], {
Expand Down

0 comments on commit c945776

Please sign in to comment.