From 774b662bbecdb9b44fd14cae017414da84409599 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 20 May 2024 20:58:19 +0300 Subject: [PATCH] work around windows --- codex/slots/proofs/backends/asynccircoms.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex/slots/proofs/backends/asynccircoms.nim b/codex/slots/proofs/backends/asynccircoms.nim index 8d3675b2..73672a2e 100644 --- a/codex/slots/proofs/backends/asynccircoms.nim +++ b/codex/slots/proofs/backends/asynccircoms.nim @@ -31,8 +31,8 @@ proc prove*[H]( ): Future[?!CircomProof] {.async.} = ## Generates proof using circom-compat asynchronously ## - without queue =? newSignalQueue[?!CircomProof](maxItems = 1), err: - return failure(err) + without queue =? newSignalQueue[Result[CircomProof, ref CatchableError]](maxItems = 1), err: + return (?!CircomProof).failure(err) proc spawnTask() = self.tp.spawn proveTask(self.circom, input, queue)