Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Revert to snapshots 2
Browse files Browse the repository at this point in the history
  • Loading branch information
diman-io authored and mvines committed Mar 17, 2021
1 parent 0b42379 commit 20b53eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2066,8 +2066,8 @@ pub fn main() {

let snapshot_interval_slots = value_t_or_exit!(matches, "snapshot_interval_slots", u64);
let maximum_local_snapshot_age = value_t_or_exit!(matches, "maximum_local_snapshot_age", u64);
let snapshot_output_dir = if matches.is_present("snapshot_dir") {
PathBuf::from(matches.value_of("snapshot_dir").unwrap())
let snapshot_output_dir = if matches.is_present("snapshots") {
PathBuf::from(matches.value_of("snapshots").unwrap())
} else {
ledger_path.clone()
};
Expand Down

0 comments on commit 20b53eb

Please sign in to comment.