Synchronize BlockhashQueue and RecentBlockhashes sysvar update
(cherry picked from commit 5357ff6d60
)
This commit is contained in:
committed by
Trent Nelson
parent
7ca65341e6
commit
a0965e1eba
@ -1116,6 +1116,7 @@ impl Bank {
|
||||
let current_tick_height = self.tick_height.fetch_add(1, Ordering::Relaxed) as u64;
|
||||
if self.is_block_boundary(current_tick_height + 1) {
|
||||
w_blockhash_queue.register_hash(hash, &self.fee_calculator);
|
||||
self.update_recent_blockhashes_locked(&w_blockhash_queue);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user