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

Fix payment history API earliest_first parameter and compare transactions on ledger order #350

Merged
merged 2 commits into from
Apr 15, 2015

Conversation

alandotcom
Copy link
Contributor

Fix bug in earliest_first query parameter for Payment History API

if (typeof val === 'number') {
return val.toString();
} else if (typeof val === 'object') {
return _.mapValues(val, toString);
Copy link
Contributor

Choose a reason for hiding this comment

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

toString returns non-string return type. Could make toStringValues a recursive function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Alan Cohen added 2 commits April 14, 2015 17:36
…dger...

...instead of lexicographical order. Also, remove custom compareTransaction
function for api/transactions
@alandotcom
Copy link
Contributor Author

@clark800 updated

@clark800
Copy link
Contributor

LGTM

alandotcom added a commit that referenced this pull request Apr 15, 2015
Fix payment history API `earliest_first` parameter and compare transactions on ledger order
@alandotcom alandotcom merged commit 682a1c4 into ripple:develop Apr 15, 2015
@alandotcom alandotcom deleted the compare-transactions branch April 15, 2015 01:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants