Better space out show-stake-history columns

This commit is contained in:
Michael Vines
2019-12-10 08:29:54 -07:00
parent a03062af4f
commit 7879fa5095

View File

@ -725,7 +725,7 @@ pub fn process_show_stake_history(
println!( println!(
"{}", "{}",
style(format!( style(format!(
" {:<5} {:>15} {:>16} {:>18}", " {:<5} {:>20} {:>20} {:>20}",
"Epoch", "Effective Stake", "Activating Stake", "Deactivating Stake", "Epoch", "Effective Stake", "Activating Stake", "Deactivating Stake",
)) ))
.bold() .bold()
@ -733,7 +733,7 @@ pub fn process_show_stake_history(
for (epoch, entry) in stake_history.deref() { for (epoch, entry) in stake_history.deref() {
println!( println!(
" {:>5} {:>15} {:>16} {:>18} {}", " {:>5} {:>20} {:>20} {:>20} {}",
epoch, epoch,
build_balance_message(entry.effective, use_lamports_unit, false), build_balance_message(entry.effective, use_lamports_unit, false),
build_balance_message(entry.activating, use_lamports_unit, false), build_balance_message(entry.activating, use_lamports_unit, false),