mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-12 04:46:41 +00:00
work around windows
This commit is contained in:
parent
774b662bbe
commit
56f8ff6bf3
@ -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[Result[CircomProof, ref CatchableError]](maxItems = 1), err:
|
without queue =? newSignalQueue[?!CircomProof](maxItems = 1), err:
|
||||||
return (?!CircomProof).failure(err)
|
return (?!CircomProof).err(err)
|
||||||
|
|
||||||
proc spawnTask() =
|
proc spawnTask() =
|
||||||
self.tp.spawn proveTask(self.circom, input, queue)
|
self.tp.spawn proveTask(self.circom, input, queue)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user