Rename MAX_ENTRY_IDS
This commit is contained in:
@@ -7,7 +7,7 @@ use solana_sdk::genesis_block::GenesisBlock;
|
||||
use solana_sdk::hash::hash;
|
||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||
use solana_sdk::system_transaction::SystemTransaction;
|
||||
use solana_sdk::timing::MAX_ENTRY_IDS;
|
||||
use solana_sdk::timing::MAX_RECENT_TICK_HASHES;
|
||||
use test::Bencher;
|
||||
|
||||
#[bench]
|
||||
@@ -42,7 +42,7 @@ fn bench_process_transaction(bencher: &mut Bencher) {
|
||||
|
||||
let mut id = bank.last_id();
|
||||
|
||||
for _ in 0..(MAX_ENTRY_IDS - 1) {
|
||||
for _ in 0..(MAX_RECENT_TICK_HASHES - 1) {
|
||||
bank.register_tick(&id);
|
||||
id = hash(&id.as_ref())
|
||||
}
|
||||
|
Reference in New Issue
Block a user