From b2cd3ce9a7058d233f891af9f9e1e061e6c1cb72 Mon Sep 17 00:00:00 2001 From: james-prysm Date: Tue, 2 Jul 2024 15:51:29 -0500 Subject: [PATCH] fixing comment --- .../electra/epoch_processing/test_apply_pending_deposit.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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