Correctly indicate genesis activation_epoch (#7091)

* Correctly indicate genesis activation_epoch

* Drop the '(Genesis)'
This commit is contained in:
Ryo Onodera 2019-11-22 15:35:02 +09:00 committed by GitHub
parent 0bd41f98ed
commit c8166aed97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -571,7 +571,11 @@ pub fn process_show_stake_account(
}
println!(
"stake activates starting from epoch: {}",
stake.activation_epoch
if stake.activation_epoch < std::u64::MAX {
stake.activation_epoch
} else {
0
}
);
if stake.deactivation_epoch < std::u64::MAX {
println!(