mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Call enable_all() when building tokio runtime (#4690)
This commit is contained in:
committed by
Bastian Köcher
parent
1f18964f01
commit
da614c257c
@@ -108,6 +108,7 @@ pub fn run<I, T, E>(args: I, exit: E, version: sc_cli::VersionInfo) -> error::Re
|
||||
let runtime = RuntimeBuilder::new()
|
||||
.thread_name("main-tokio-")
|
||||
.threaded_scheduler()
|
||||
.enable_all()
|
||||
.build()
|
||||
.map_err(|e| format!("{:?}", e))?;
|
||||
match config.roles {
|
||||
|
||||
Reference in New Issue
Block a user