Skip to content

Commit

Permalink
remove redundant call that bumps age to future (#27215)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington authored Aug 18, 2022
1 parent 7720b48 commit 77563bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion runtime/src/in_mem_accounts_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77563bc

Please sign in to comment.