don't use asyncCheck

This commit is contained in:
Dmitriy Ryajov 2022-04-19 20:28:08 -06:00
parent 298d857e1b
commit 92662dea62
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ proc resolveBlocks*(b: BlockExcEngine, blocks: seq[bt.Block]) =
b.pendingBlocks.resolve(blocks) b.pendingBlocks.resolve(blocks)
b.scheduleTasks(blocks) b.scheduleTasks(blocks)
asyncCheck b.queueProvideBlocksReq(blocks.mapIt( it.cid )) asyncSpawn b.queueProvideBlocksReq(blocks.mapIt( it.cid ))
proc payForBlocks(engine: BlockExcEngine, proc payForBlocks(engine: BlockExcEngine,
peer: BlockExcPeerCtx, peer: BlockExcPeerCtx,