Skip to content

Commit

Permalink
fix(nargo): remove misleading quotes in generated Prover.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Apr 3, 2023
1 parent 98c2cd9 commit 1456be7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/nargo_cli/src/cli/check_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ fn check_from_path<P: AsRef<Path>>(p: P, compile_options: &CompileOptions) -> Re
fn build_placeholder_input_map(
parameters: Vec<AbiParameter>,
return_type: Option<AbiType>,
) -> BTreeMap<String, &'static str> {
let default_value = |typ: AbiType| {
) -> BTreeMap<String, toml::Value> {
let default_value = |typ: AbiType| -> toml::Value {
if matches!(typ, AbiType::Array { .. }) {
"[]"
toml::Value::Array(Vec::new())
} else {
""
toml::Value::String("".to_owned())
}
};

Expand Down

0 comments on commit 1456be7

Please sign in to comment.