fix(util-crypto): use correct x/y getters in secp256k1Expand#2018
Conversation
|
It needs a |
|
If I am understanding this correctly, we don't need to bump the version of i'll look into this myself as well |
I tried running
You do not need to bump the dependency version if this fix is merged. The bug exists from version 1.4 onwards, but with 2.0 this old, buggy, API was removed. This PR switches to the new, correct, API, which works on all versions (pre 1.4, 1.4+ and 2.0+). |
|
Okay I fixed the linter, you just need to pull in or rebase from master! Thanks again for the patience. |
2388758 to
c0192c8
Compare
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Replace px/py with x/y getters from @noble/curves ProjectivePoint. In recent versions of @noble/curves (1.4+), the px/py getters are buggy and return incorrect values. In 2.0, px/py were removed entirely (renamed to X/Y/Z). The x/y coordinate getters are the correct ones to use.