mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 03:27:58 +00:00
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:
@@ -143,12 +143,11 @@ fn node_config<G: RuntimeGenesis + 'static, E: ChainSpecExtension + Clone + 'sta
|
||||
{
|
||||
let root = root.path().join(format!("node-{}", index));
|
||||
|
||||
let net_config_path = root.join("network");
|
||||
|
||||
let mut network_config = NetworkConfiguration::new(
|
||||
format!("Node {}", index),
|
||||
"network/test/0.1",
|
||||
Default::default(), &net_config_path,
|
||||
Default::default(),
|
||||
None,
|
||||
);
|
||||
|
||||
network_config.listen_addresses.push(
|
||||
|
||||
Reference in New Issue
Block a user