remove redundant call that bumps age to future (#27215)

This commit is contained in:
Jeff Washington (jwash) 2022-08-18 11:01:05 -05:00 committed by GitHub
parent 7720b48aa6
commit 77563bc1c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -315,7 +315,6 @@ impl<T: IndexValue> InMemAccountsIndex<T> {
) -> RT {
self.get_only_in_mem(pubkey, |entry| {
if let Some(entry) = entry {
entry.set_age(self.storage.future_age_to_flush());
callback(Some(entry)).1
} else {
// not in cache, look on disk