Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nonast committed Mar 4, 2023
1 parent f7e8887 commit dcbe647
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ol/genesis-tools/src/wizard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ impl GenesisWizard {
self.download_snapshot(&app_config)?
} else {
// TODO(Nima): Instead of using a test, let's ask the user for the patht to a snapshot
let input = Input::new().with_prompt("Enter the (absolute) path to the snapshot:").interact_text()?;
PathBuf::from_str(&input)?
// ol_types::fixtures::get_test_snapshot()
let input = Input::<String>::new()
.with_prompt("Enter the (absolute) path to the snapshot:")
.interact_text()?;
PathBuf::from(input)
};

// do the whole genesis workflow and create the files
Expand Down

0 comments on commit dcbe647

Please sign in to comment.