From db59579a2efa8416f78c855faa7d7e62048447e5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Feb 2026 13:01:02 -0800 Subject: lint --- src/lib/nip44.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/nip44.ts') diff --git a/src/lib/nip44.ts b/src/lib/nip44.ts index 6025a54f..19384b9b 100644 --- a/src/lib/nip44.ts +++ b/src/lib/nip44.ts @@ -24,7 +24,9 @@ export const u = { }, getConversationKey(privkeyA: string, pubkeyB: string): Uint8Array { - const sharedX = secp256k1.getSharedSecret(hexToBytes(privkeyA), hexToBytes("02" + pubkeyB)).subarray(1, 33); + const sharedX = secp256k1 + .getSharedSecret(hexToBytes(privkeyA), hexToBytes("02" + pubkeyB)) + .subarray(1, 33); return hkdf_extract(sha256, sharedX, utf8ToBytes("nip44-v2")); }, -- cgit v1.2.3