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 last_txs to getaddress API #410

Merged

Conversation

TheHolyRoger
Copy link
Collaborator

Moving from 1.6.2 to 1.7.X we (or me...) dropped the last_txs array from the getaddress API call.

This brings it back without any indexing changes.

Replicates exactly as it was before, even "addresses" when it should say "hash" :)

Fixes #392

Copy link

@FrediDealCash FrediDealCash left a comment

Choose a reason for hiding this comment

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

The suggested changes have been made to code on app.js and lib/database.js all working fine and we can now return the transactions for a specific address using /ext/getaddress call as per the example below

http://explorer.idealcash.io/ext/getaddress/DPGgbtbFLCw4Hfti76xq4nz2jLXNGcSqQz

image

@TheHolyRoger TheHolyRoger merged commit c681306 into iquidus:master Oct 18, 2020
@TheHolyRoger TheHolyRoger deleted the api-fix/add-address-last-txs branch October 18, 2020 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ext/getaddress api with array of last txs
2 participants