create parallel tasks extension (#5249)

This commit is contained in:
Nikolay Volf authored and GitHub committed 2020-03-16 16:30:39 +01:00
1 parent 418b7b8bc2
commit 372745705d
25 files changed
+189 -26

No files matched your search

@@ -349,7 +349,7 @@ pub fn new_light() -> (
let blockchain = Arc::new(sc_client::light::blockchain::Blockchain::new(storage));
let backend = Arc::new(LightBackend::new(blockchain.clone()));
let executor = new_native_executor();
let local_call_executor = sc_client::LocalCallExecutor::new(backend.clone(), executor);
let local_call_executor = sc_client::LocalCallExecutor::new(backend.clone(), executor, sp_core::tasks::executor());
let call_executor = LightExecutor::new(
backend.clone(),
local_call_executor,