Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants