Filter out outdated slots (#22450)

* Filter out outdated slots

* Fixup error
This commit is contained in:
carllin
2022-01-13 19:51:00 -05:00
committed by GitHub
parent eca8d21249
commit 4ab7d6c23e
6 changed files with 151 additions and 45 deletions

View File

@ -1946,7 +1946,6 @@ fn root_in_tower(tower_path: &Path, node_pubkey: &Pubkey) -> Option<Slot> {
// slot_hash expiry to 64 slots.
#[test]
#[ignore]
fn test_slot_hash_expiry() {
solana_logger::setup_with_default(RUST_LOG_FILTER);
solana_sdk::slot_hashes::set_entries_for_tests_only(64);