borrow storages (#15088) (#15095)

(cherry picked from commit f49a70e626)

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-02-04 18:43:15 +00:00
committed by GitHub
parent 21484acc20
commit 9f74136632
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();