Skip to content

Commit

Permalink
Skip redundant cost limit update in banking-bench (#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun authored Dec 12, 2024
1 parent 2b9581a commit bd46d7f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions banking-bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,11 +554,6 @@ fn main() {
bank = bank_forks.read().unwrap().working_bank();
insert_time.stop();

// set cost tracker limits to MAX so it will not filter out TXs
bank.write_cost_tracker()
.unwrap()
.set_limits(u64::MAX, u64::MAX, u64::MAX);

assert!(poh_recorder.read().unwrap().bank().is_none());
poh_recorder
.write()
Expand Down

0 comments on commit bd46d7f

Please sign in to comment.