Skip to content

Commit

Permalink
refactor the guest inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
[gavin-ygy] committed Nov 20, 2024
1 parent c22bdf1 commit f2ba9d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host-program/src/bin/zkm-prove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::fs::read;
use std::fs::File;
use std::path::Path;
use std::time::Instant;
use zkm_sdk::{prover::ClientType, prover::ProverInput, prover::ProverResult, ProverClient, InputProcessor};
use zkm_sdk::{prover::ClientType, prover::ProverInput, prover::ProverResult, ProverClient, prover::InputProcessor};

pub const DEFAULT_PROVER_NETWORK_RPC: &str = "https://152.32.186.45:20002";
pub const DEFALUT_PROVER_NETWORK_DOMAIN: &str = "stage";
Expand Down Expand Up @@ -239,7 +239,7 @@ impl InputProcessor for Sha2GoInput {
let mut buf = Vec::new();
bincode::serialize_into(&mut buf, &data).expect("serialization failed");

input.public_inputstream = pub_buf;
input.public_inputstream = buf;
// input.private_inputstream = pri_buf;

}
Expand Down

0 comments on commit f2ba9d4

Please sign in to comment.