From 195b41e42e62a6d942229618be02ff9529b1db86 Mon Sep 17 00:00:00 2001 From: Daniel Savu <23065004+daniel-savu@users.noreply.github.com> Date: Tue, 17 Oct 2023 17:28:34 +0100 Subject: [PATCH] fix --- rust/utils/run-locally/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/utils/run-locally/src/main.rs b/rust/utils/run-locally/src/main.rs index 86d5c60844..37afd5bc16 100644 --- a/rust/utils/run-locally/src/main.rs +++ b/rust/utils/run-locally/src/main.rs @@ -137,7 +137,7 @@ fn main() -> ExitCode { // let solana_checkpoint_path = Path::new(SOLANA_CHECKPOINT_LOCATION); // fs::remove_dir_all(solana_checkpoint_path).unwrap_or_default(); - let checkpoints_dirs: Vec = (0..VALIDATOR_COUNT - 1) + let checkpoints_dirs: Vec = (0..VALIDATOR_COUNT) .map(|_| Box::new(tempdir().unwrap()) as DynPath) // .chain([Box::new(solana_checkpoint_path) as DynPath]) .collect(); @@ -264,7 +264,7 @@ fn main() -> ExitCode { .join(", ") ); log!("Relayer DB in {}", relayer_db.display()); - (0..3).for_each(|i| { + (0..VALIDATOR_COUNT).for_each(|i| { log!("Validator {} DB in {}", i + 1, validator_dbs[i].display()); });