Ancestors to HashSet: From(Vec) (#17447)
* ancestors.large_range_slots becomes HashSet * Ancestors to HashSet: From(Vec)
This commit is contained in:
committed by
GitHub
parent
d39a327138
commit
98f1b11edd
@ -76,7 +76,7 @@ fn test_bad_bank_hash() {
|
||||
let db = AccountsDb::new(Vec::new(), &ClusterType::Development);
|
||||
|
||||
let some_slot: Slot = 0;
|
||||
let ancestors = Ancestors::from([(some_slot, 0usize)].iter().copied().collect::<Vec<_>>());
|
||||
let ancestors = Ancestors::from(vec![some_slot]);
|
||||
|
||||
let max_accounts = 200;
|
||||
let mut accounts_keys: Vec<_> = (0..max_accounts)
|
||||
|
Reference in New Issue
Block a user