Skip to content

Commit

Permalink
try something else #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Aug 15, 2024
1 parent 715d19d commit 34092ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zk_toolbox/crates/zk_inception/src/commands/prover/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ pub(crate) async fn run(args: ProverInitArgs, shell: &Shell) -> anyhow::Result<(

let current_path = shell.current_dir();

let prover_only_mode = match EcosystemConfig::from_file(shell) {
let prover_only_mode = match GeneralProverConfig::from_file(shell) {
Ok(_) => false,
Err(_) => {
let _ = shell.push_dir(current_path);
match GeneralProverConfig::from_file(shell) {
match EcosystemConfig::from_file(shell) {
Ok(_) => true,
Err(_) => {
let current_dir = shell.current_dir();
Expand Down

0 comments on commit 34092ab

Please sign in to comment.