AcctIdx: minor code cleanup (#21547)
This commit is contained in:
committed by
GitHub
parent
6bb884836c
commit
8dfa83c579
@@ -1213,10 +1213,8 @@ impl<T: IndexValue> AccountsIndex<T> {
|
||||
if let AccountIndexGetResult::Found(list_r, index) =
|
||||
self.get(&pubkey, Some(ancestors), max_root)
|
||||
{
|
||||
func(
|
||||
&pubkey,
|
||||
(&list_r.slot_list()[index].1, list_r.slot_list()[index].0),
|
||||
);
|
||||
let entry = &list_r.slot_list()[index];
|
||||
func(&pubkey, (&entry.1, entry.0));
|
||||
}
|
||||
if config.is_aborted() {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user