move local out of call (#17519)
This commit is contained in:
parent
dd3cf27ab0
commit
3973bf08f1
|
@ -4224,13 +4224,10 @@ impl AccountsDb {
|
|||
|
||||
for sub_storages in 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,
|
||||
storage.slot(),
|
||||
)
|
||||
scan_func(LoadedAccount::Stored(stored_account), &mut retval, slot)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue