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

@ -377,7 +377,7 @@ mod tests {
fn test_poh_service() {
solana_logger::setup();
let GenesisConfigInfo { genesis_config, .. } = create_genesis_config(2);
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 prev_hash = bank.last_blockhash();
let ledger_path = get_tmp_ledger_path!();
{