borrow storages (#15088)

This commit is contained in:
Jeff Washington (jwash)
2021-02-04 11:29:03 -06:00
committed by GitHub
parent e5225b7e68
commit f49a70e626
2 changed files with 8 additions and 8 deletions

View File

@@ -964,7 +964,7 @@ pub fn process_accounts_package_pre(accounts_package: AccountsPackagePre) -> Acc
let hash = accounts_package.hash; // temporarily remaining here
if let Some(expected_hash) = accounts_package.hash_for_testing {
let (hash, lamports) = AccountsDB::calculate_accounts_hash_without_index(
accounts_package.storages.clone(),
&accounts_package.storages,
accounts_package.simple_capitalization_testing,
);
time.stop();