We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6205924 commit 5abf106Copy full SHA for 5abf106
1 file changed
crates/pop-chains/src/up/mod.rs
@@ -460,6 +460,7 @@ impl NetworkConfiguration {
460
let nodes = source.nodes();
461
462
let mut builder = relay
463
+ . with_chain(source.chain().as_str())
464
.with_default_args(source.default_args().into_iter().cloned().collect())
465
// Replace default command with resolved binary path
466
.with_default_command(binary_path.as_str());
@@ -471,9 +472,6 @@ impl NetworkConfiguration {
471
472
builder = builder.with_chain_spec_path(PathBuf::from(path));
473
} else if let Some(command) = chain_spec_generator {
474
builder = builder.with_chain_spec_command(command);
- } else {
475
- // Only set chain parameter if not using a chain spec file
476
- builder = builder.with_chain(source.chain().as_str());
477
}
478
479
// Chain spec
0 commit comments