From f603b642a234b2fe0daea90717800fb3f66d0bbf Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 20 May 2024 17:33:41 +0300 Subject: [PATCH] try queue setup --- codex/slots/proofs/backends/asynccircoms.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codex/slots/proofs/backends/asynccircoms.nim b/codex/slots/proofs/backends/asynccircoms.nim index 95593feb..8a048ea1 100644 --- a/codex/slots/proofs/backends/asynccircoms.nim +++ b/codex/slots/proofs/backends/asynccircoms.nim @@ -12,13 +12,13 @@ import ../../../utils/asyncthreads import ./circomcompat type AsyncCircomCompat* = object - params*: CircomCompatParams + circom*: CircomCompat tp*: Taskpool var circomBackend {.threadvar.}: Option[CircomCompat] proc proveTask[H]( - params: CircomCompatParams, + params: CircomCompat, data: ProofInputs[H], results: SignalQueuePtr[Result[CircomProof, string]], ) = @@ -43,7 +43,7 @@ proc prove*[H]( return failure(err) proc spawnTask() = - self.tp.spawn proveTask(self.params, input, queue) + self.tp.spawn proveTask(self.circom, input, queue) spawnTask()