-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
web3 & go-ethereum generating different signature for same message & private key. #3524
Comments
Solve signature problem by adding |
please help, after add |
Solve signature problem by adding length of the message, |
|
Trying to generate signature using web3:
Trying to generate signature using go-ethereum:
Expected behavior
Signature should be same in web3 & go-ethereum.
Actual behavior
web3 & go-ethereum generating different signature for same message & private key.
Logs
The messageHash which is generated by web3 & go-ethereum are different.
web3:
go-ethereum:
Environment
node: v8.17.0
npm: 6.13.4
go: 1.14.2
OS: macOS Mojave 10.14.6
The text was updated successfully, but these errors were encountered: