From: Chris Duncan Date: Sun, 1 Dec 2024 21:43:06 +0000 (-0800) Subject: Remove testing log statements. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=2cbdfce662e4b0de51d585bd5e79e6b3b12506af;p=libnemo.git Remove testing log statements. --- 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)