struct updated accoding to spec

This commit is contained in:
Grant Wuerker 2018-12-08 21:11:10 -06:00
parent 86e5ce9ed8
commit 0627b658f1

View File

@ -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 {