Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nonast committed Mar 4, 2023
1 parent ed5a998 commit 04df840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions ol/cli/src/mgmt/restore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,6 @@ impl Backup {
Ok(manifest_path)
}
}

/// To check if backup archive has already been fetched
pub fn archive_exists(&self) -> bool {
// check if
self.archive_path.exists()
}
}

fn get_highest_epoch_archive() -> Result<(u64, String), Error> {
Expand Down
3 changes: 2 additions & 1 deletion ol/genesis-tools/src/wizard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ impl GenesisWizard {
} else {
// TODO(Nima): Instead of using a test, let's ask the user for the patht to a snapshot
let input = Input::<String>::new()
.with_prompt("Enter the (absolute) path to the snapshot:")
.with_prompt("Enter the (absolute) path to the snapshot")
.interact_text()?;
PathBuf::from(input)
};
println!("snapshot path: {:?}", snapshot_path);

// do the whole genesis workflow and create the files
run::default_run(
Expand Down

0 comments on commit 04df840

Please sign in to comment.