Remove slot field, add test (#9444)

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin
2020-04-10 23:52:37 -07:00
committed by GitHub
parent 31ebdbc77f
commit 3037eb8d4f
2 changed files with 56 additions and 8 deletions

View File

@@ -182,7 +182,6 @@ pub(crate) struct ForkStats {
pub(crate) weight: u128,
pub(crate) fork_weight: u128,
pub(crate) total_staked: u64,
pub(crate) slot: Slot,
pub(crate) block_height: u64,
pub(crate) has_voted: bool,
pub(crate) is_recent: bool,