From: Chris Duncan Date: Sun, 1 Dec 2024 07:17:14 +0000 (-0800) Subject: Remove some extraneous logging. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=a40b6a00628659fd4f135d0b542a1756f2819643;p=libnemo.git Remove some extraneous logging. --- 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]) })