Skip to content

Commit 74ec5f7

Browse files
committed
Use differentiated config file names for provers
1 parent de4a10e commit 74ec5f7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/node.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,8 @@ impl<C: Config> Node<C> {
8383
config_to_file(node_config, &config_path)
8484
.with_context(|| format!("Error writing {kind} config to file"))?;
8585

86-
let node_kind_str = match &kind {
87-
NodeKind::BatchProver | NodeKind::LightClientProver => "prover".to_string(),
88-
kind => kind.to_string(),
89-
};
9086
Ok(vec![
91-
format!("--{node_kind_str}-config-path"),
87+
format!("--{kind}-config-path"),
9288
config_path.display().to_string(),
9389
])
9490
})

0 commit comments

Comments
 (0)