Skip to content

Commit

Permalink
pr: remove set_bank_hash_stats
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoranYi committed Dec 3, 2024
1 parent 0823de2 commit fd6e1b6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7215,10 +7215,6 @@ impl Bank {
pub fn get_bank_hash_stats(&self) -> BankHashStats {
self.bank_hash_stats.load()
}

pub fn set_bank_hash_stats(&mut self, bank_hash_stats: &BankHashStats) {
self.bank_hash_stats = AtomicBankHashStats::new(bank_hash_stats);
}
}

impl TransactionProcessingCallback for Bank {
Expand Down

0 comments on commit fd6e1b6

Please sign in to comment.