block_hash => blockhash
This commit is contained in:
committed by
Greg Fitzgerald
parent
0f1582c196
commit
a94880574b
@@ -25,7 +25,7 @@ fn bench_process_transaction(bencher: &mut Bencher) {
|
||||
&mint_keypair,
|
||||
rando0.pubkey(),
|
||||
10_000,
|
||||
bank.last_block_hash(),
|
||||
bank.last_blockhash(),
|
||||
0,
|
||||
);
|
||||
assert_eq!(bank.process_transaction(&tx), Ok(()));
|
||||
@@ -33,7 +33,7 @@ fn bench_process_transaction(bencher: &mut Bencher) {
|
||||
// Seed the 'to' account and a cell for its signature.
|
||||
let rando1 = Keypair::new();
|
||||
let tx =
|
||||
SystemTransaction::new_move(&rando0, rando1.pubkey(), 1, bank.last_block_hash(), 0);
|
||||
SystemTransaction::new_move(&rando0, rando1.pubkey(), 1, bank.last_blockhash(), 0);
|
||||
assert_eq!(bank.process_transaction(&tx), Ok(()));
|
||||
|
||||
// Finally, return the transaction to the benchmark.
|
||||
@@ -41,7 +41,7 @@ fn bench_process_transaction(bencher: &mut Bencher) {
|
||||
})
|
||||
.collect();
|
||||
|
||||
let mut id = bank.last_block_hash();
|
||||
let mut id = bank.last_blockhash();
|
||||
|
||||
for _ in 0..(MAX_RECENT_TICK_HASHES - 1) {
|
||||
bank.register_tick(&id);
|
||||
|
Reference in New Issue
Block a user