Make network_config_path an Option (#5661)

* Make network_config_path an Option

* Fix network tests

* Use None as the network config path

* Fix cli

* Don't make PathBuf an Option in a cli context
This commit is contained in:
Ashley authored and GitHub committed 2020-04-17 14:48:45 +02:00
1 parent 249a92aece
commit 95dc400bb8
8 files changed
+20 -19

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ where
format!("{} (Browser)", name),
"unknown",
Default::default(),
&std::path::PathBuf::new(),
None,
);
network.boot_nodes = chain_spec.boot_nodes().to_vec();
network.transport = TransportConfig::Normal {