diff --git a/synthesizer/process/src/cost.rs b/synthesizer/process/src/cost.rs index 381b9869ef..4f75e9d2c7 100644 --- a/synthesizer/process/src/cost.rs +++ b/synthesizer/process/src/cost.rs @@ -87,7 +87,7 @@ pub fn execution_cost_v1(process: &Process, execution: &Execution // Get the finalize cost for the root transition. let stack = process.get_stack(transition.program_id())?; - let finalize_cost = cost_in_microcredits_v1(&stack, transition.function_name())?; + let finalize_cost = cost_in_microcredits_v1(stack, transition.function_name())?; // Compute the total cost in microcredits. let total_cost = storage_cost