Skip to content

Commit

Permalink
Remove recursive read locking of program cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed Jun 5, 2024
1 parent ad29f68 commit d7ac378
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 d7ac378

Please sign in to comment.