mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-02 13:33:10 +00:00
Adds missing async-raises for prover.verify (#1237)
This commit is contained in:
parent
f7d06cd0e8
commit
bfbd7264df
@ -82,7 +82,7 @@ proc prove*(
|
||||
|
||||
proc verify*(
|
||||
self: Prover, proof: AnyProof, inputs: AnyProofInputs
|
||||
): Future[?!bool] {.async.} =
|
||||
): Future[?!bool] {.async: (raises: [CancelledError]).} =
|
||||
## Prove a statement using backend.
|
||||
## Returns a future that resolves to a proof.
|
||||
self.backend.verify(proof, inputs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user