Skip to content

Commit

Permalink
docs: add a planned removal comment (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR authored Oct 14, 2024
1 parent 7f9a446 commit ae0b1d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions features/keychain/module/crypto/secp256k1.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const create = ({ getPrivateHDKey }) => {
if (enc === 'rec|sig') return Buffer.concat([new Uint8Array([recovery]), signature])
if (enc === 'raw') {
// Deprecated, compatibility mode with manual signature encoding
// TODO: remove in next semver-major together with bn.js dep, see https://github.com/ExodusMovement/exodus-oss/pull/159
return {
r: new BN(signature.subarray(0, signature.length / 2)),
s: new BN(signature.subarray(signature.length / 2)),
Expand Down

0 comments on commit ae0b1d0

Please sign in to comment.