From 2cbdfce662e4b0de51d585bd5e79e6b3b12506af Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 1 Dec 2024 13:43:06 -0800 Subject: [PATCH] Remove testing log statements. --- src/lib/bip44-ckd.ts | 1 - src/lib/pool.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/lib/bip44-ckd.ts b/src/lib/bip44-ckd.ts index 772f78e..1dfb0f0 100644 --- a/src/lib/bip44-ckd.ts +++ b/src/lib/bip44-ckd.ts @@ -16,7 +16,6 @@ const b = () => { * Listens for messages from a calling function. */ addEventListener('message', (message) => { - console.log(`bip44ckd work received (${performance.now()})`) const data = JSON.parse(new TextDecoder().decode(message.data ?? message)) process(data).then(results => { const buf = new TextEncoder().encode(JSON.stringify(results)).buffer diff --git a/src/lib/pool.ts b/src/lib/pool.ts index 2b079cc..d3c70a5 100644 --- a/src/lib/pool.ts +++ b/src/lib/pool.ts @@ -42,7 +42,6 @@ export class Pool { worker: new Worker(url, { type: 'module', eval: true }) } thread.worker.addEventListener('message', (message) => { - console.log(`received worker response (${performance.now()})`) let result = JSON.parse(new TextDecoder().decode(message.data ?? message)) if (!Array.isArray(result)) result = [result] this.#report(thread, result) -- 2.34.1