Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored and huitseeker committed Jun 15, 2024
1 parent ed6a589 commit be08291
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl ProverClient {
/// Setting the `SP1_PROVER` enviroment variable can change the prover used under the hood.
/// - `local` (default): Uses [LocalProver]. Recommended for proving end-to-end locally.
/// - `mock`: Uses [MockProver]. Recommended for testing and development.
/// - `remote`: Uses [NetworkProver]. Recommended for outsourcing proof generation to an RPC.
/// - `network`: Uses [NetworkProver]. Recommended for outsourcing proof generation to an RPC.
///
/// ### Examples
///
Expand All @@ -85,7 +85,7 @@ impl ProverClient {
prover: Box::new(NetworkProver::new()),
},
_ => panic!(
"invalid value for SP1_PROVER enviroment variable: expected 'local', 'mock', or 'remote'"
"invalid value for SP1_PROVER enviroment variable: expected 'local', 'mock', or 'network'"
),
}
}
Expand Down Expand Up @@ -129,6 +129,7 @@ impl ProverClient {
/// Creates a new [ProverClient] with the network prover.
///
/// Recommended for outsourcing proof generation to an RPC. You can also use [ProverClient::new]
/// to set the prover to `network` with the `SP1_PROVER` enviroment variable.
///
/// ### Examples
///
Expand Down

0 comments on commit be08291

Please sign in to comment.