From a40b6a00628659fd4f135d0b542a1756f2819643 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 30 Nov 2024 23:17:14 -0800 Subject: [PATCH] Remove some extraneous logging. --- src/lib/workers/nano-nacl.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/workers/nano-nacl.ts b/src/lib/workers/nano-nacl.ts index deeb9ec..ec61da8 100644 --- a/src/lib/workers/nano-nacl.ts +++ b/src/lib/workers/nano-nacl.ts @@ -20,7 +20,6 @@ const NanoNaCl = () => { * Listens for messages from a calling function. */ addEventListener('message', (message) => { - console.log(`nacl work received (${performance.now()})`) const data = JSON.parse(new TextDecoder().decode(message.data ?? message)) // for (const d of data) { for (let i = 0; i < data.length; i++) { @@ -28,8 +27,6 @@ const NanoNaCl = () => { data[i].publicKey = hexify(keyPair(data[i].privateKey).publicKey) } const buf = new TextEncoder().encode(JSON.stringify(data)).buffer - //@ts-expect-error - console.log(`nacl work done (${performance.now()})`) postMessage(buf, [buf]) }) -- 2.34.1