mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-25 09:07:56 +00:00
Update the minimal template to stable2412-4 (#22)
This synchronizes the template to the stable2412 branch. --------- Signed-off-by: Iulian Barbu <iulian@shuttle.rs> Co-authored-by: iulianbarbu <14218860+iulianbarbu@users.noreply.github.com> Co-authored-by: Iulian Barbu <iulian@shuttle.rs>
This commit is contained in:
committed by
GitHub
parent
a76e4bf0ed
commit
dbc4be1c1f
+1
-1
@@ -117,7 +117,7 @@ pub fn run() -> sc_cli::Result<()> {
|
||||
None => {
|
||||
let runner = cli.create_runner(&cli.run)?;
|
||||
runner.run_node_until_exit(|config| async move {
|
||||
match config.network.network_backend {
|
||||
match config.network.network_backend.unwrap_or_default() {
|
||||
sc_network::config::NetworkBackendType::Libp2p =>
|
||||
service::new_full::<sc_network::NetworkWorker<_, _>>(config, cli.consensus)
|
||||
.map_err(sc_cli::Error::Service),
|
||||
|
||||
Reference in New Issue
Block a user