We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4a10e commit 74ec5f7Copy full SHA for 74ec5f7
src/node.rs
@@ -83,12 +83,8 @@ impl<C: Config> Node<C> {
83
config_to_file(node_config, &config_path)
84
.with_context(|| format!("Error writing {kind} config to file"))?;
85
86
- let node_kind_str = match &kind {
87
- NodeKind::BatchProver | NodeKind::LightClientProver => "prover".to_string(),
88
- kind => kind.to_string(),
89
- };
90
Ok(vec![
91
- format!("--{node_kind_str}-config-path"),
+ format!("--{kind}-config-path"),
92
config_path.display().to_string(),
93
])
94
})
0 commit comments