add _for_tests to new_no_wallclock_throttle (#19086)

This commit is contained in:
Jeff Washington (jwash)
2021-08-05 14:50:25 -05:00
committed by GitHub
parent a9014ceceb
commit e368f10973
5 changed files with 16 additions and 16 deletions

View File

@@ -247,7 +247,7 @@ mod tests {
mint_keypair,
..
} = create_genesis_config(10);
let bank = Arc::new(Bank::new_no_wallclock_throttle(&genesis_config));
let bank = Arc::new(Bank::new_no_wallclock_throttle_for_tests(&genesis_config));
let start_hash = bank.last_blockhash();
(mint_keypair, start_hash)
}