Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing endpoint #165

Merged
merged 5 commits into from
Oct 24, 2018
Merged

Add missing endpoint #165

merged 5 commits into from
Oct 24, 2018

Conversation

shredding
Copy link

I added the https://www.stellar.org/developers/horizon/reference/endpoints/trades-for-account.html endpoint. I included a test that i had with this padding removing i had the fix for that as well but it was already done in the meantime.

assert former_xdr_cny.code == self.cny.code, 'Padding not removed.'

# check for greater than four as well ...
xdr = Asset('BIGGER').to_xdr_object()
Copy link
Member

Choose a reason for hiding this comment

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

Need to provide an asset issuer.

Copy link
Member

Choose a reason for hiding this comment

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

I think this test is unnecessary.

Copy link
Author

Choose a reason for hiding this comment

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

Removed it.

@codecov
Copy link

codecov bot commented Oct 24, 2018

Codecov Report

Merging #165 into master will decrease coverage by 0.19%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #165     +/-   ##
=========================================
- Coverage    82.1%   81.91%   -0.2%     
=========================================
  Files          24       24             
  Lines        2056     2062      +6     
=========================================
+ Hits         1688     1689      +1     
- Misses        368      373      +5
Impacted Files Coverage Δ
stellar_base/address.py 0% <0%> (ø) ⬆️
stellar_base/horizon.py 54.33% <33.33%> (-0.38%) ⬇️

@overcat overcat merged commit c676692 into StellarCN:master Oct 24, 2018
@overcat
Copy link
Member

overcat commented Oct 24, 2018

Thank you.

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

Successfully merging this pull request may close these issues.

2 participants