work around windows

This commit is contained in:
Jaremy Creechley 2024-05-20 20:58:19 +03:00
parent 36a9766c40
commit 774b662bbe
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ proc prove*[H](
): Future[?!CircomProof] {.async.} = ): Future[?!CircomProof] {.async.} =
## Generates proof using circom-compat asynchronously ## Generates proof using circom-compat asynchronously
## ##
without queue =? newSignalQueue[?!CircomProof](maxItems = 1), err: without queue =? newSignalQueue[Result[CircomProof, ref CatchableError]](maxItems = 1), err:
return failure(err) return (?!CircomProof).failure(err)
proc spawnTask() = proc spawnTask() =
self.tp.spawn proveTask(self.circom, input, queue) self.tp.spawn proveTask(self.circom, input, queue)