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

fixed bug where ecrecover could return a 0x0 address #4

Merged
merged 1 commit into from Apr 30, 2018

Conversation

wimdetr
Copy link
Contributor

@wimdetr wimdetr commented Apr 25, 2018

The function ecrecover can return the null address when v is not 27 or 28. Building upon a stackoverflow answer, a simple check for this was added, and 27 will be added to v if the condition is not met.

https://ethereum.stackexchange.com/a/1794

The function ecrecover can return the null address when v is not 27 or 28. Building upon a stackoverflow answer, a simple check for this was added, and 27 will be added to v if the condition is not met.

https://ethereum.stackexchange.com/a/1794
@sogoiii sogoiii merged commit 9cb0b5c into sogoiii:master Apr 30, 2018
@sogoiii
Copy link
Owner

sogoiii commented Apr 30, 2018

Cool, this does work! :) thanks for the contribution!

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