Skip to content

Commit

Permalink
Show correct total validator count during validator recovery (#6153)
Browse files Browse the repository at this point in the history
* Show correct total count during validator recovery

* Start current recovery count at one

Co-authored-by: chonghe <44791194+chong-he@users.noreply.github.com>
  • Loading branch information
dknopik and chong-he authored Jul 25, 2024
1 parent 4e8e80b commit b4a7560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_manager/src/validator/recover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit b4a7560

Please sign in to comment.