Revert to snapshots 2

(cherry picked from commit 20b53eb4b4)
This commit is contained in:
DimAn
2021-03-17 14:36:48 +03:00
committed by Michael Vines
parent a76426514e
commit 5f426ee2dc

View File

@ -1755,8 +1755,8 @@ pub fn main() {
let snapshot_interval_slots = value_t_or_exit!(matches, "snapshot_interval_slots", u64); 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 maximum_local_snapshot_age = value_t_or_exit!(matches, "maximum_local_snapshot_age", u64);
let snapshot_output_dir = if matches.is_present("snapshot_dir") { let snapshot_output_dir = if matches.is_present("snapshots") {
PathBuf::from(matches.value_of("snapshot_dir").unwrap()) PathBuf::from(matches.value_of("snapshots").unwrap())
} else { } else {
ledger_path.clone() ledger_path.clone()
}; };