exit count changed to 0

This commit is contained in:
Grant Wuerker 2018-12-16 20:32:19 -06:00
parent eef3627c92
commit 8adf5f7990

View File

@ -67,12 +67,11 @@ impl ValidatorInductor {
pubkey: deposit_input.pubkey.clone(), pubkey: deposit_input.pubkey.clone(),
withdrawal_credentials: deposit_input.withdrawal_credentials, withdrawal_credentials: deposit_input.withdrawal_credentials,
randao_commitment: deposit_input.randao_commitment, randao_commitment: deposit_input.randao_commitment,
// TODO: revisit this
randao_layers: 0, randao_layers: 0,
balance: DEPOSIT_GWEI, balance: DEPOSIT_GWEI,
status: status, status: status,
latest_status_change_slot: self.beacon_state.validator_registry_latest_change_slot, latest_status_change_slot: self.beacon_state.validator_registry_latest_change_slot,
exit_count: self.beacon_state.validator_registry_exit_count exit_count: 0
}) })
} }