remove outdated, confusing comment (#26315)

This commit is contained in:
Jeff Washington (jwash) 2022-06-29 10:42:34 -05:00 committed by GitHub
parent ca83f143aa
commit e241906db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -2532,7 +2532,6 @@ impl AccountsDb {
let mut useful = 0;
self.accounts_index.scan(
pubkeys.iter(),
// return true if we want this item to remain in the cache
|exists, slot_list, pubkey, ref_count| {
let mut useless = true;
if !exists {
@ -3023,7 +3022,6 @@ impl AccountsDb {
accounts[..std::cmp::min(accounts.len(), count)]
.iter()
.map(|(key, _)| key),
// return true if we want this item to remain in the cache
|exists, slot_list, pubkey, _ref_count| {
let mut result = AccountsIndexScanResult::None;
if exists {