Skip to content

Commit

Permalink
Remove recursive read locking of program cache (anza-xyz#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 authored Jun 5, 2024
1 parent 3e22a7b commit 538b693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svm/src/transaction_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ impl<FG: ForkGraph> TransactionBatchProcessor<FG> {
// Load, verify and compile one program.
let program = load_program_with_pubkey(
callback,
&self.get_environments_for_epoch(self.epoch),
&program_cache.get_environments_for_epoch(self.epoch),
&key,
self.slot,
&self.epoch_schedule,
Expand Down

0 comments on commit 538b693

Please sign in to comment.