Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
make sure to pass order id in cancel edge flow, fix #2386
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jul 30, 2018
1 parent 99914ea commit 68d0718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/wrappers/poloniex.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Trader.prototype.processResponse = function(next, fn, payload) {
// it was cancelled, we need to check filled amount..
console.log(new Date, '[CANCELFIX] process cancel response');
console.log('[CANCELFIX] rechecking fill')
setTimeout(this.getOrder((error, order) => {
setTimeout(this.getOrder(payload, (error, order) => {
if(error) {
return next(error)
}
Expand Down

0 comments on commit 68d0718

Please sign in to comment.