remove slot lookup (#17691)
This commit is contained in:
parent
83ceedc091
commit
4bd32d891f
|
@ -4358,7 +4358,6 @@ impl AccountsDb {
|
|||
let sub_storages = snapshot_storages.get(slot);
|
||||
if let Some(sub_storages) = sub_storages {
|
||||
for storage in sub_storages {
|
||||
let slot = storage.slot();
|
||||
let accounts = storage.accounts.accounts(0);
|
||||
accounts.into_iter().for_each(|stored_account| {
|
||||
scan_func(LoadedAccount::Stored(stored_account), &mut retval, slot)
|
||||
|
|
Loading…
Reference in New Issue