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

CEXIO backfill, balance and incorrect nonce bugfix #644

Merged
merged 4 commits into from
Oct 24, 2017
Merged

CEXIO backfill, balance and incorrect nonce bugfix #644

merged 4 commits into from
Oct 24, 2017

Conversation

nedievas
Copy link
Contributor

balance undefined and nonce error crash fix. Should fix #641 issue.

balance undefined and nonce error crash fix. Should fix #641 issue.
@nedievas nedievas changed the title CEXIO balance and incorrect nonce bugfix CEXIO backfill, balance and incorrect nonce bugfix Oct 19, 2017
var args = {}
if (opts.from) {
args = Number(opts.from)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backfill does not work anymore with this code

@@ -176,15 +179,15 @@ module.exports = function container (get, set, clear) {
var order = orders['~' + opts.order_id]
var client = authedClient()
client.get_order_details(opts.order_id, function (err, body) {
if (err || typeof body === 'undefined') return retry('getOrder', func_args, err)
if (err || body === 'error: Invalid Order ID') return retry('getOrder', func_args, err)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: unexpected whitespace

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants