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

blockchain: Reject params with blank choice id. #3079

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 10, 2023

This is rebased on #3077.

This adds an additional validation check to the chain initialization process to validate that none of the IDs of the choices in the given chain params are blank.

It also adds a test for the new validation logic.

This adds an additional validation check to the chain initialization
process to validate that none of the IDs of the choices in the given
chain params are blank.

It also adds a test for the new validation logic.
@davecgh davecgh force-pushed the blockchain_reject_params_with_empty_choice_id branch from 23fc25f to e22c50a Compare March 13, 2023 18:17
@davecgh davecgh merged commit e22c50a into decred:master Mar 13, 2023
@davecgh davecgh deleted the blockchain_reject_params_with_empty_choice_id branch March 13, 2023 18:22
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