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

@@ -323,9 +323,6 @@ pub enum DepositInvalid {
BadIndex { state: u64, deposit: u64 },
/// The signature (proof-of-possession) does not match the given pubkey.
BadSignature,
/// The withdrawal credentials for the depositing validator did not match the withdrawal
/// credentials of an existing validator with the same public key.
BadWithdrawalCredentials,
/// The specified `branch` and `index` did not form a valid proof that the deposit is included
/// in the eth1 deposit root.
BadMerkleProof,