Skip to content

Commit

Permalink
Fix conditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
miracle2k committed Jun 3, 2018
1 parent 9983a99 commit bf091bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/gateio.js
Expand Up @@ -365,7 +365,7 @@ module.exports = class gateio extends Exchange {
let amount = this.safeFloat (order, 'initialAmount');
let filled = this.safeFloat (order, 'filledAmount');
let remaining = this.safeFloat (order, 'leftAmount');
if (typeof remaining !== 'undefined') {
if (typeof remaining === 'undefined') {
// In the order status response, this field has a different name.
remaining = this.safeFloat (order, 'left');
}
Expand Down

0 comments on commit bf091bb

Please sign in to comment.