Skip to content

Commit

Permalink
re-revert tests/test_sync_manager.nim
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec committed Jan 29, 2024
1 parent 1165cb6 commit 6366112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_sync_manager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ proc collector(queue: AsyncQueue[BlockEntry]): BlockVerifier =
# the BlockProcessor and this test
proc verify(signedBlock: ForkedSignedBeaconBlock, blobs: Opt[BlobSidecars],
maybeFinalized: bool):
Future[Result[void, VerifierError]] {.async: (raises: [CancelledError], raw: true).} =
let fut = Future[Result[void, VerifierError]].Raising([CancelledError]).init()
Future[Result[void, VerifierError]] =
let fut = newFuture[Result[void, VerifierError]]()
try: queue.addLastNoWait(BlockEntry(blck: signedBlock, resfut: fut))
except CatchableError as exc: raiseAssert exc.msg
return fut
Expand Down

0 comments on commit 6366112

Please sign in to comment.