Skip to content

Commit

Permalink
ccxt#99 transpiler fix for [x,y,z,...] in php
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Aug 10, 2017
1 parent 249373e commit a9fedd9
Show file tree
Hide file tree
Showing 5 changed files with 1,886 additions and 1,881 deletions.
6 changes: 4 additions & 2 deletions ccxt.es5.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -4439,7 +4439,8 @@ var btce = {
let response = await this.privatePostOrderInfo ({ 'order_id': id });
let orderInfo = response['return'][id];
let isCanceled = false;
if (orderInfo['status'] in [2, 3])
let canceled = [2, 3];
if (orderInfo['status'] in canceled)
isCanceled = true;
let result = {
'info': response,
Expand Down
Loading

0 comments on commit a9fedd9

Please sign in to comment.