From c882d165e2f30520d3381372c25c1de347a70a15 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Tue, 15 Nov 2022 06:36:59 +0900 Subject: [PATCH] Fix typo in cost_tracker.rs (#28781) Substract -> Subtract --- runtime/src/cost_tracker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/cost_tracker.rs b/runtime/src/cost_tracker.rs index 6508824e5f..2398bce689 100644 --- a/runtime/src/cost_tracker.rs +++ b/runtime/src/cost_tracker.rs @@ -292,7 +292,7 @@ impl CostTracker { } } - /// Substract extra execution units from cost_tracker + /// Subtract extra execution units from cost_tracker fn sub_transaction_execution_cost(&mut self, tx_cost: &TransactionCost, adjustment: u64) { for account_key in tx_cost.writable_accounts.iter() { let account_cost = self