Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Mar 16, 2024
1 parent 4f34bba commit a85bb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cost-model/src/cost_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl CostModel {
// builtin and bpf instructions when calculating default compute-unit-limit. (see
// compute_budget.rs test `test_process_mixed_instructions_without_compute_budget`)
if has_user_space_instructions && compute_unit_limit_is_set {
programs_execution_costs = u64::from(compute_budget.compute_unit_limit);
programs_execution_costs = compute_budget.compute_unit_limit;
}

if feature_set
Expand Down

0 comments on commit a85bb5e

Please sign in to comment.