From 54cb06ea06562f5287928d0fb41a98a28cd4197a Mon Sep 17 00:00:00 2001 From: tersec Date: Fri, 9 Jun 2023 23:43:28 +0000 Subject: [PATCH] fix chronos deprecation warning (#5048) --- beacon_chain/validator_client/block_service.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/validator_client/block_service.nim b/beacon_chain/validator_client/block_service.nim index a52b38800..bbba7402f 100644 --- a/beacon_chain/validator_client/block_service.nim +++ b/beacon_chain/validator_client/block_service.nim @@ -627,7 +627,7 @@ proc runBlockPollMonitor(service: BlockServiceRef, block: var res = false for future in pendingTasks: - if not(future.done()): continue + if not(future.completed()): continue if not(cast[Future[bool]](future).read()): continue res = true break