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

fix: normalize v always returns a valid value #2642

Merged
merged 2 commits into from Oct 18, 2023
Merged

Conversation

prestwich
Copy link
Collaborator

Motivation

Normalize v was written to return invalid V values

Solution

Fix it to always return a valid value

I chose not to correct the signature of Signature::recovery_id() because that would be a breaking change

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added the bug Something isn't working label Oct 18, 2023
@prestwich prestwich self-assigned this Oct 18, 2023
@prestwich prestwich merged commit a6e3243 into master Oct 18, 2023
18 of 19 checks passed
@prestwich prestwich deleted the prestwich/normalize-v branch October 18, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants