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

Prevent returnOpenOrders error tricking order completion (fixes #765) #770

Merged
merged 1 commit into from
Nov 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions extensions/exchanges/poloniex/exchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,9 @@ module.exports = function container (get, set, clear) {
}
var active = false
if (!body.forEach) {
console.error('\nreturnOpenOrders odd result:')
console.error(body)
console.error('\nreturnOpenOrders odd result in checking state of order, trying again')
//console.error(body)
return retry('getOrder', args)
}
else {
body.forEach(function (api_order) {
Expand Down