Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
clean-feature: default_units_per_instruction (#27101)
Browse files Browse the repository at this point in the history
clean-feature: default_units_per_instruction
  • Loading branch information
jstarry authored Aug 13, 2022
1 parent bcff977 commit 6c79672
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ use {
epoch_schedule::EpochSchedule,
feature,
feature_set::{
self, add_set_compute_unit_price_ix, default_units_per_instruction,
disable_fee_calculator, enable_early_verification_of_account_modifications,
self, add_set_compute_unit_price_ix, disable_fee_calculator,
enable_early_verification_of_account_modifications,
use_default_units_in_fee_calculation, FeatureSet,
},
fee::FeeStructure,
Expand Down Expand Up @@ -4555,7 +4555,7 @@ impl Bank {
Measure::start("compute_budget_process_transaction_time");
let process_transaction_result = compute_budget.process_instructions(
tx.message().program_instructions_iter(),
feature_set.is_active(&default_units_per_instruction::id()),
true,
feature_set.is_active(&add_set_compute_unit_price_ix::id()),
);
compute_budget_process_transaction_time.stop();
Expand Down

0 comments on commit 6c79672

Please sign in to comment.