Update tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
This commit is contained in:
parent
ea33eac282
commit
1feb1fbc0f
|
@ -13,7 +13,7 @@ def test_apply_pending_deposit_add_validator_to_registry(spec, state):
|
|||
amount = spec.MIN_ACTIVATION_BALANCE
|
||||
|
||||
# select validator set outside of the mainnet preset of 256
|
||||
index = 2000
|
||||
index = len(state.validators)
|
||||
withdrawal_credentials = (
|
||||
spec.BLS_WITHDRAWAL_PREFIX + spec.hash(pubkeys[index])[1:]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue