diff --git a/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py b/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py index a521079bb..548116eba 100644 --- a/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py +++ b/tests/core/pyspec/eth2spec/test/electra/epoch_processing/test_apply_pending_deposit.py @@ -90,7 +90,7 @@ def test_apply_pending_deposit_withdrawable_epoch_while_exited(spec, state): def test_apply_pending_deposit_switch_to_compounding(spec, state): amount = 100 - # choose a value public key that's not in the validator set + # choose a value public key that's in the validator set index = 0 withdrawal_credentials = spec.ETH1_ADDRESS_WITHDRAWAL_PREFIX + spec.hash(pubkeys[index])[1:] compounding_credentials = spec.COMPOUNDING_WITHDRAWAL_PREFIX + spec.hash(pubkeys[index])[1:] @@ -113,4 +113,5 @@ def test_apply_pending_deposit_switch_to_compounding(spec, state): assert spec.apply_pending_deposit(state,deposit) == True # validator count should increase by 1 assert state.balances[0] == amount - assert state.validators[0].withdrawal_credentials == compounding_credentials \ No newline at end of file + assert state.validators[0].withdrawal_credentials == compounding_credentials + \ No newline at end of file