Skip to content

Commit

Permalink
input (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
xander42280 authored Sep 23, 2024
1 parent 8ff3ef5 commit bbf2d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ impl Executor {
let data = file::new(&ctx.public_input_path)
.read()
.expect("read public_input_stream failed");
state.add_input_stream(&data);
state.input_stream.push(data.clone());
log::info!("split set public_input data {}", data.len());

// private_input_stream
if !ctx.private_input_path.is_empty() {
let data = file::new(&ctx.private_input_path)
.read()
.expect("read private_input_stream failed");
state.add_input_stream(&data);
state.input_stream.push(data.clone());
log::info!("split set private_input data {}", data.len());
}
} else {
Expand Down

0 comments on commit bbf2d1f

Please sign in to comment.