From 0627b658f17a38daf29ffcf92a8c527e032bca30 Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Sat, 8 Dec 2018 21:11:10 -0600 Subject: [PATCH] struct updated accoding to spec --- beacon_chain/types/src/validator_record.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/beacon_chain/types/src/validator_record.rs b/beacon_chain/types/src/validator_record.rs index 3a15baeec..44d5b60df 100644 --- a/beacon_chain/types/src/validator_record.rs +++ b/beacon_chain/types/src/validator_record.rs @@ -14,13 +14,13 @@ pub enum ValidatorStatus { #[derive(Debug, Clone, PartialEq)] pub struct ValidatorRecord { pub pubkey: PublicKey, - pub withdrawal_shard: u16, - pub withdrawal_address: Address, - pub randao_commitment: Hash256, - pub randao_last_change: u64, + pub withdrawal_credentials: Hash32, + pub randao_commitment: Hash32, + pub randao_skips: u64, pub balance: u64, - pub status: u8, - pub exit_slot: u64, + pub status: u64, + pub latest_status_change_slot: u64, + pub exit_count: u64 } impl ValidatorRecord {