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