Skip to content

Commit

Permalink
Merge pull request ccxt#1220 from KeKs0r/cryptopia-fix-fetchOrder
Browse files Browse the repository at this point in the history
Fix Cryptopia fetch order
  • Loading branch information
kroitor authored Jan 12, 2018
2 parents d0f5f99 + 9b9025a commit 38f7449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cryptopia.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ module.exports = class cryptopia extends Exchange {

async fetchOrder (id, symbol = undefined, params = {}) {
id = id.toString ();
let orders = await this.fetchOrders (symbol, params);
let orders = await this.fetchOrders (symbol, undefined, undefined, params);
for (let i = 0; i < orders.length; i++) {
if (orders[i]['id'] == id)
return orders[i];
Expand Down

0 comments on commit 38f7449

Please sign in to comment.