Cleanup - bank_transaction_count_fix (#31768)

bank_transaction_count_fix
This commit is contained in:
Alexander Meißner 2023-05-23 18:18:15 +02:00 committed by GitHub
parent 8da91d8670
commit e9d99973ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -2663,8 +2663,7 @@ fn test_insufficient_funds() {
fn test_executed_transaction_count_post_bank_transaction_count_fix() {
let mint_amount = sol_to_lamports(1.);
let (genesis_config, mint_keypair) = create_genesis_config(mint_amount);
let mut bank = Bank::new_for_tests(&genesis_config);
bank.activate_feature(&feature_set::bank_transaction_count_fix::id());
let bank = Bank::new_for_tests(&genesis_config);
let pubkey = solana_sdk::pubkey::new_rand();
let amount = genesis_config.rent.minimum_balance(0);
bank.transfer(amount, &mint_keypair, &pubkey).unwrap();