diff --git a/svm/src/transaction_processor.rs b/svm/src/transaction_processor.rs index f69b1c4e0ea52b..e7da3efce95602 100644 --- a/svm/src/transaction_processor.rs +++ b/svm/src/transaction_processor.rs @@ -433,7 +433,7 @@ impl TransactionBatchProcessor { // 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,