Drop 'Pubkey' in 'solana validators' header

This commit is contained in:
Michael Vines 2020-10-15 09:16:36 -07:00 committed by mergify[bot]
parent bb2f0df9e1
commit 3073dc9801
1 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@ impl fmt::Display for CliBlockProduction {
"{}", "{}",
style(format!( style(format!(
" {:<44} {:>15} {:>15} {:>15} {:>23}", " {:<44} {:>15} {:>15} {:>15} {:>23}",
"Identity Pubkey", "Identity",
"Leader Slots", "Leader Slots",
"Blocks Produced", "Blocks Produced",
"Skipped Slots", "Skipped Slots",
@ -412,8 +412,8 @@ impl fmt::Display for CliValidators {
"{}", "{}",
style(format!( style(format!(
" {:<44} {:<38} {} {} {} {:>10} {:^8} {}", " {:<44} {:<38} {} {} {} {:>10} {:^8} {}",
"Identity Pubkey", "Identity",
"Vote Account Pubkey", "Vote Account",
"Commission", "Commission",
"Last Vote", "Last Vote",
"Root Block", "Root Block",
@ -952,8 +952,8 @@ impl VerboseDisplay for CliValidatorInfo {}
impl fmt::Display for CliValidatorInfo { impl fmt::Display for CliValidatorInfo {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
writeln_name_value(f, "Validator Identity Pubkey:", &self.identity_pubkey)?; writeln_name_value(f, "Validator Identity:", &self.identity_pubkey)?;
writeln_name_value(f, " Info Pubkey:", &self.info_pubkey)?; writeln_name_value(f, " Info Address:", &self.info_pubkey)?;
for (key, value) in self.info.iter() { for (key, value) in self.info.iter() {
writeln_name_value( writeln_name_value(
f, f,