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

test: Flip last bit in negative test cases #2536

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

jonas-lundqvist
Copy link

For some bitpay tests a signature was trashed by setting last char to '0' but there was some cases where sig could have that. Instead flip the last bit.
Do the same thing for the digest for symmetry.

For some bitpay tests a signature was trashed by setting last char to
'0' but there was some cases where sig could have that.
Instead flip the last bit.
Do the same thing for the digest for symmetry.
@cculianu
Copy link
Collaborator

Looks good, thanks!

@cculianu cculianu merged commit e330948 into Electron-Cash:master Jan 15, 2023
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