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.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,
|
||||||
|
|
Loading…
Reference in New Issue