work around windows

This commit is contained in:
Jaremy Creechley 2024-05-20 21:02:45 +03:00
parent 774b662bbe
commit 56f8ff6bf3
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

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