From b4a7560c0e5b748215c239c19598315adf72e520 Mon Sep 17 00:00:00 2001 From: dknopik <107140945+dknopik@users.noreply.github.com> Date: Thu, 25 Jul 2024 02:10:43 +0200 Subject: [PATCH] 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> --- account_manager/src/validator/recover.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_manager/src/validator/recover.rs b/account_manager/src/validator/recover.rs index 4677db18df..b36b10ab00 100644 --- a/account_manager/src/validator/recover.rs +++ b/account_manager/src/validator/recover.rs @@ -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 );