work around windows
This commit is contained in:
parent
36a9766c40
commit
774b662bbe
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue