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 ada173a commit a96abcfCopy full SHA for a96abcf
src/node.rs
@@ -83,8 +83,12 @@ 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![
- format!("--{kind}-config-path"),
91
+ format!("--{node_kind_str}-config-path"),
92
config_path.display().to_string(),
93
])
94
})
0 commit comments