Skip to content

Commit

Permalink
fix test_cost_tracker_ok_add_two_diff_accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Jul 12, 2024
1 parent c949473 commit 9f1fb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cost-model/src/cost_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ mod tests {
testee.add_transaction_cost(CostModel::writable_accounts_iter(&tx2), &tx_cost2);
}
assert_eq!(cost1 + cost2, testee.block_cost);
assert_eq!(2, testee.cost_by_writable_accounts.len());
assert_eq!(4, testee.cost_by_writable_accounts.len());
let (_ccostliest_account, costliest_account_cost) = testee.find_costliest_account();
assert_eq!(std::cmp::max(cost1, cost2), costliest_account_cost);
}
Expand Down

0 comments on commit 9f1fb05

Please sign in to comment.