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

Return specific error codes for failed txs #194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ldmberman
Copy link
Member

The network does not depend on this API, but we need to check if arweave-js and browser extensions need updating and talk to Upvest.

Copy link
Contributor

@maxmellen maxmellen left a comment

Choose a reason for hiding this comment

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

Just a minor naming comment, otherwise looks good to me :)

src/ar_tx.erl Outdated
ar_wallet:verify(TX#tx.owner, signature_data_segment(TX), TX#tx.signature)}
],
] ++ tx_field_size_limit(TX, Height),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd maybe pluralize that function name since it now returns a list of limits

@ldmberman ldmberman force-pushed the improvement/api-tx-validation-error-codes branch from 3bb47ba to 04cce3e Compare December 17, 2019 09:02
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.

None yet

2 participants