Skip to content

Commit 538b693

Browse files
authored
Remove recursive read locking of program cache (#1616)
1 parent 3e22a7b commit 538b693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

svm/src/transaction_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ impl<FG: ForkGraph> TransactionBatchProcessor<FG> {
433433
// Load, verify and compile one program.
434434
let program = load_program_with_pubkey(
435435
callback,
436-
&self.get_environments_for_epoch(self.epoch),
436+
&program_cache.get_environments_for_epoch(self.epoch),
437437
&key,
438438
self.slot,
439439
&self.epoch_schedule,

0 commit comments

Comments
 (0)