diff --git a/bberg/src/vm_builder.rs b/bberg/src/vm_builder.rs index 18176e2bf2..c1a696f8d3 100644 --- a/bberg/src/vm_builder.rs +++ b/bberg/src/vm_builder.rs @@ -215,18 +215,27 @@ pub fn extract_public_input_columns(witness_columns: Vec) -> (Vec = witness_columns .into_iter() - .filter_map(|name| name.strip_suffix("__is_public").map(|s| s.to_owned())) + .filter_map(|name| + if name.ends_with("__is_public") { + Some(name) + } else {None} + + // TODO: fix with above + // name.strip_suffix("__is_public").map(|s| s.to_owned()) + ) .collect(); assert!(