Fix typo in cost_tracker.rs (#28781)

Substract -> Subtract
This commit is contained in:
Ikko Ashimine 2022-11-15 06:36:59 +09:00 committed by GitHub
parent 503da50f2c
commit c882d165e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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