state_processing: remove spurious withdrawal credentials check

This commit is contained in:
Michael Sproul
2019-05-29 10:56:21 +10:00
parent 706f850c9e
commit 37c67117d3
3 changed files with 1 additions and 18 deletions

View File

@@ -386,8 +386,6 @@ pub fn process_deposits<T: EthSpec>(
// Get an `Option<u64>` where `u64` is the validator index if this deposit public key
// already exists in the beacon_state.
//
// This function also verifies the withdrawal credentials.
let validator_index =
get_existing_validator_index(state, deposit).map_err(|e| e.into_with_index(i))?;