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

txscript: Remove max money from json test data. #790

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Aug 4, 2017

This removes the tests related to max money checks since txscript does not do sanity checking on the monetary amounts as that is done by the consensus rules in blockchain.

While here, update dcrscript -> txscript in the comments to reflect reality.

As an aside, the existing tests were invalid anyways since the signatures were invalid and thus the tests were failing for the wrong reason.

This removes the tests related to max money checks since txscript does
not do sanity checking on the monetary amounts as that is done by the
consensus rules in blockchain.

While here, update dcrscript -> txscript in the comments to reflect
reality.

As an aside, the existing tests were invalid anyways since the
signatures were invalid and thus the tests were failing for the wrong
reason.
Copy link
Contributor

@jolan jolan left a comment

Choose a reason for hiding this comment

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

OK

@davecgh davecgh merged commit 3a243c6 into decred:master Aug 4, 2017
@davecgh davecgh deleted the txscript_json_test_data_remove_max_money branch August 4, 2017 03:56
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