mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-03-02 13:30:41 +00:00
don't use asyncCheck
This commit is contained in:
parent
298d857e1b
commit
92662dea62
@ -334,7 +334,7 @@ proc resolveBlocks*(b: BlockExcEngine, blocks: seq[bt.Block]) =
|
||||
|
||||
b.pendingBlocks.resolve(blocks)
|
||||
b.scheduleTasks(blocks)
|
||||
asyncCheck b.queueProvideBlocksReq(blocks.mapIt( it.cid ))
|
||||
asyncSpawn b.queueProvideBlocksReq(blocks.mapIt( it.cid ))
|
||||
|
||||
proc payForBlocks(engine: BlockExcEngine,
|
||||
peer: BlockExcPeerCtx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user