diff --git a/beacon_chain/spec/beaconstate.nim b/beacon_chain/spec/beaconstate.nim index b2914277d..03635cbf9 100644 --- a/beacon_chain/spec/beaconstate.nim +++ b/beacon_chain/spec/beaconstate.nim @@ -54,10 +54,12 @@ func process_deposit(state: var BeaconState, custody_commitment: Eth2Digest) : Uint24 = ## Process a deposit from Ethereum 1.0. - # TODO return error - doAssert validate_proof_of_possession( - state, pubkey, proof_of_possession, withdrawal_credentials, - randao_commitment) + if false: + # TODO return error; currently, just fails if ever called + # but hadn't been set up to run at all + doAssert validate_proof_of_possession( + state, pubkey, proof_of_possession, withdrawal_credentials, + randao_commitment) let validator_pubkeys = state.validator_registry.mapIt(it.pubkey)