From ae0b1d0eeed006cecf95c087221f8cb1df8653f7 Mon Sep 17 00:00:00 2001 From: Nikita Skovoroda Date: Mon, 14 Oct 2024 22:14:32 +0300 Subject: [PATCH] docs: add a planned removal comment (#159) --- features/keychain/module/crypto/secp256k1.js | 1 + 1 file changed, 1 insertion(+) diff --git a/features/keychain/module/crypto/secp256k1.js b/features/keychain/module/crypto/secp256k1.js index 08906bbe..6f7cf1d0 100644 --- a/features/keychain/module/crypto/secp256k1.js +++ b/features/keychain/module/crypto/secp256k1.js @@ -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)),