From b8ddb603c169f4538e5bd4f1fb96d35aefcf8fcd Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Thu, 25 Jan 2024 11:41:48 +0000 Subject: [PATCH] Format --- src/secp256k1.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/secp256k1.ts b/src/secp256k1.ts index 10fbb9b..b09abf1 100644 --- a/src/secp256k1.ts +++ b/src/secp256k1.ts @@ -385,7 +385,12 @@ export const elligatorSwift = /* @__PURE__ */ { return numberToBytesBE(point.multiply(d).x, 32); }, // BIP324 shared secret - getSharedSecretBip324: (privateKeyOurs: Hex, publicKeyTheirs: Hex, publicKeyOurs: Hex, initiating: boolean) => { + getSharedSecretBip324: ( + privateKeyOurs: Hex, + publicKeyTheirs: Hex, + publicKeyOurs: Hex, + initiating: boolean + ) => { const ours = ensureBytes('publicKeyOurs', publicKeyOurs); const theirs = ensureBytes('publicKeyTheirs', publicKeyTheirs); const ecdhPoint = elligatorSwift.getSharedSecret(privateKeyOurs, theirs);