diff --git a/stake-pool/program/tests/update_validator_list_balance.rs b/stake-pool/program/tests/update_validator_list_balance.rs index dc339203d4f..31b4e484ba1 100644 --- a/stake-pool/program/tests/update_validator_list_balance.rs +++ b/stake-pool/program/tests/update_validator_list_balance.rs @@ -141,7 +141,7 @@ async fn setup( let last_blockhash = context .banks_client - .get_new_latest_blockhash(&context.last_blockhash) + .get_new_latest_blockhash(&last_blockhash) .await .unwrap(); @@ -697,6 +697,12 @@ async fn success_with_burned_tokens() { slot += slots_per_epoch; context.warp_to_slot(slot).unwrap(); + let last_blockhash = context + .banks_client + .get_new_latest_blockhash(&last_blockhash) + .await + .unwrap(); + let mint_info = get_account( &mut context.banks_client, &stake_pool_accounts.pool_mint.pubkey(),