diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index f119470ba8..9c1805609c 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -17362,7 +17362,7 @@ pub mod tests { pub(crate) fn get_all_accounts( db: &AccountsDb, - slots: Range, + slots: impl Iterator, ) -> Vec<(Pubkey, AccountSharedData)> { slots .filter_map(|slot| {