From c8166aed97b7a0211381b0da9c9971a3ce6b1d21 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Fri, 22 Nov 2019 15:35:02 +0900 Subject: [PATCH] Correctly indicate genesis activation_epoch (#7091) * Correctly indicate genesis activation_epoch * Drop the '(Genesis)' --- cli/src/stake.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/src/stake.rs b/cli/src/stake.rs index 43ebfad4a8..feb0439343 100644 --- a/cli/src/stake.rs +++ b/cli/src/stake.rs @@ -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!(