-
Notifications
You must be signed in to change notification settings - Fork 1k
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
EC Recover #3696
base: master
Are you sure you want to change the base?
EC Recover #3696
Conversation
@neo-project/core Please take special look into |
|
||
var recoveredKey2 = Crypto.ECRecover(signature2, messageHash2); | ||
CollectionAssert.AreEqual(expectedPubKey1, recoveredKey2.EncodePoint(true)); | ||
Assert.IsTrue(Crypto.VerifySignature(message2, signature2, recoveredKey2, Neo.Cryptography.HashAlgorithm.Keccak256)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jim8y this line fault, could you help me?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @Jim8y
Description
Close #3628
Alternative to #3633
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: