mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-11-20 16:16:07 +00:00
chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
1 parent
ee6e42c461
commit
193f6b9294
1358 files changed
+9464
-7656
No files matched your search
@@ -123,12 +123,17 @@ pub fn run() -> pezsc_cli::Result<()> {
|
||||
let runner = cli.create_runner(&cli.run)?;
|
||||
runner.run_node_until_exit(|config| async move {
|
||||
match config.network.network_backend {
|
||||
pezsc_network::config::NetworkBackendType::Libp2p =>
|
||||
service::new_full::<pezsc_network::NetworkWorker<_, _>>(config, cli.consensus)
|
||||
.map_err(pezsc_cli::Error::Service),
|
||||
pezsc_network::config::NetworkBackendType::Libp2p => service::new_full::<
|
||||
pezsc_network::NetworkWorker<_, _>,
|
||||
>(
|
||||
config, cli.consensus
|
||||
)
|
||||
.map_err(pezsc_cli::Error::Service),
|
||||
pezsc_network::config::NetworkBackendType::Litep2p => service::new_full::<
|
||||
pezsc_network::Litep2pNetworkBackend,
|
||||
>(config, cli.consensus)
|
||||
>(
|
||||
config, cli.consensus
|
||||
)
|
||||
.map_err(pezsc_cli::Error::Service),
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user