Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Oct 7, 2023
1 parent bfd54a1 commit 1fe5265
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/instrumentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ fn inject_metering(
curr = InjectionPoint::new();
}
Instr::Call(Call { func }) => {
curr.cost += instr_cost(instr, use_new_metering);
match func_cost
.get_cost(*func)
.unwrap_or((instr_cost(instr, use_new_metering), InjectionKind::Static))
Expand Down

0 comments on commit 1fe5265

Please sign in to comment.