Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

[BUG] Orders: Correct mishandling XRP amounts and use 'counterparty' (RLJS-172)(RLJS-174) #251

Merged
merged 1 commit into from
Jan 6, 2015

Conversation

alandotcom
Copy link
Contributor

(RLJS-172)(RLJS-174)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) when pulling 399a001 on lumberj:bug/orders_counterparty into 874ae93 on ripple:develop.

@@ -82,7 +82,7 @@ suite('get orders', function() {
.end(function(err, res) {
if (err) return done(err);

assert.strictEqual(res.body.orders.length, 34);
assert.strictEqual(res.body.orders.length, 36);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This went up by 2 because XRP orders show up on every page I think

Copy link
Contributor

Choose a reason for hiding this comment

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

Pretty sure it's because of these lines

{
          "flags": 0,
          "seq": 844069,
          "taker_gets": {
            "currency": "USD",
            "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
            "value": "40"
          },
          "taker_pays": "1000000"
        }

- Adds utils.parseCurrencyAmount()

(RLJS-172)(RLJS-174)
@alandotcom alandotcom force-pushed the bug/orders_counterparty branch from 399a001 to a79f7c3 Compare January 6, 2015 19:15
@alandotcom
Copy link
Contributor Author

Updated with utils.parseCurrencyAmount()

@wltsmrz
Copy link
Contributor

wltsmrz commented Jan 6, 2015

LGTM

1 similar comment
@boxbag
Copy link
Contributor

boxbag commented Jan 6, 2015

LGTM

@alandotcom
Copy link
Contributor Author

Can we merge?

wltsmrz added a commit that referenced this pull request Jan 6, 2015
[BUG] Orders: Correct mishandling XRP amounts and use 'counterparty' (RLJS-172)(RLJS-174)
@wltsmrz wltsmrz merged commit 4ae2b7e into ripple:develop Jan 6, 2015
@alandotcom alandotcom deleted the bug/orders_counterparty branch February 2, 2015 19:25
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.

4 participants