-
Notifications
You must be signed in to change notification settings - Fork 463
Conversation
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.
good stuff, glad you figured out the mysticism here
@@ -41,7 +41,7 @@ export class Signature { | |||
const r = new BN(this.signature.data.slice(1, lengthOfR + 1)); | |||
const s = new BN(this.signature.data.slice(lengthOfR + 1, lengthOfR + lengthOfS + 1)); | |||
|
|||
const recoveryParam = this.signature.data[0] - 27 - 4; | |||
const recoveryParam = (this.signature.data[0] - 27) & 3; |
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.
ah yes of course & 3
not - 4
@@ -43,6 +43,7 @@ | |||
"babel-preset-stage-1": "6.24.1", | |||
"cypress": "3.1.5", | |||
"elliptic": "^6.5.0", | |||
"eosjs-ecc": "^4.0.7", |
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.
?
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.
This is in the dev dependencies for testing compatibility with previous methodologies
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.
eosjs-ecc is going away; we shouldn't depend on it.
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.
It's not in the produced library; it's only here in devDependencies to verify that what we're producing now matches what it used to produce.
Change Description
Fixing some tiny and critical coding error
API Changes
Documentation Additions