Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
nigeon committed Dec 1, 2023
1 parent 0c03fd2 commit d3169b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-providers/src/worker/circuitWorkerScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export interface IWorkerResponse extends IBaseWorkerResponse<ICircuit> {}

export default () => {
self.addEventListener('message', async (e: MessageEvent<ICircuitWorkerRequest>) => {
console.time('Worker run')
try {
const { circuits } = e.data

Expand All @@ -51,7 +50,6 @@ export default () => {
wasmURI: circuits.wasmURI,
wasmHash: circuits.wasmHash,
}
console.timeEnd('Worker run')
return postMessage({ result: circuitsData } as IWorkerResponse)
} catch (error) {
return postMessage({ error } as IWorkerResponse)
Expand Down

0 comments on commit d3169b5

Please sign in to comment.