Fix poh recorder not flushing virtual ticks immediately (#5277)
* Fix poh not flushing virtual ticks immediately * Fix test_would_be_leader_soon
This commit is contained in:
@ -876,6 +876,13 @@ impl Bank {
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn check_hash_age(&self, hash: &Hash, max_age: usize) -> bool {
|
||||
self.blockhash_queue
|
||||
.read()
|
||||
.unwrap()
|
||||
.check_hash_age(hash, max_age)
|
||||
}
|
||||
|
||||
pub fn check_transactions(
|
||||
&self,
|
||||
txs: &[Transaction],
|
||||
|
Reference in New Issue
Block a user