missed deposit case, also fix signing here

This commit is contained in:
protolambda 2020-01-06 16:22:18 +01:00
parent 60954286f9
commit 8391d8ee5b
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623

View File

@ -238,6 +238,6 @@ def test_bad_merkle_proof(spec, state):
# mess up merkle branch
deposit.proof[5] = spec.Bytes32()
sign_deposit_data(spec, deposit.data, privkeys[validator_index], state=state)
sign_deposit_data(spec, deposit.data, privkeys[validator_index])
yield from run_deposit_processing(spec, state, deposit, validator_index, valid=False)