work around windows

This commit is contained in:
Jaremy Creechley 2024-05-20 19:51:11 +03:00
parent 6b161a1716
commit f5725a8505
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ proc prove*[H](
): Future[?!CircomProof] {.async.} =
## Generates proof using circom-compat asynchronously
##
without queue =? newSignalQueue[?!CircomProof](maxItems = 1), err:
let queueRes: ?!SignalQueuePtr[?!CircomProof] = newSignalQueue[?!CircomProof](maxItems = 1)
without queue =? queueRes, err:
return failure(err)
proc spawnTask() =