Show correct total validator count during validator recovery (#6153)

* Show correct total count during validator recovery

* Start current recovery count at one

Co-authored-by: chonghe <44791194+chong-he@users.noreply.github.com>
This commit is contained in:
dknopik
2024-07-25 02:10:43 +02:00
committed by GitHub
parent 4e8e80b7f4
commit b4a7560c0e

View File

@@ -147,8 +147,8 @@ pub fn cli_run(matches: &ArgMatches, validator_dir: PathBuf) -> Result<(), Strin
println!(
"{}/{}\tIndex: {}\t0x{}",
index - first_index,
count - first_index,
index - first_index + 1,
count,
index,
voting_pubkey
);