Skip to content

Commit

Permalink
fix input_stream
Browse files Browse the repository at this point in the history
  • Loading branch information
xander42280 committed Sep 23, 2024
1 parent b6e898c commit cff5fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/local/stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pub fn prove_stark(input: &ProverInput, storedir: &str, result: &mut ProverResul
state.patch_elf(&file);
state.patch_stack(vec![]);

state.add_input_stream(&input.public_inputstream);
state.add_input_stream(&input.private_inputstream);
state.input_stream.push(input.public_inputstream.clone());
state.input_stream.push(input.private_inputstream.clone());

let (total_steps, state) = split_prog_into_segs(state, &seg_path, "", seg_size);
result.output_stream = state.public_values_stream.clone();
Expand Down

0 comments on commit cff5fba

Please sign in to comment.