re-enable caching of hash calculation (#27920)

This commit is contained in:
Jeff Washington (jwash) 2022-09-20 10:44:57 -07:00 committed by GitHub
parent d74480a125
commit 4893dd3490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ impl<'a> CalcAccountsHashConfig<'a> {
/// return true if we should cache accounts hash intermediate data between calls
pub fn get_should_cache_hash_data() -> bool {
// when we are skipping rewrites, we cannot rely on the cached data from old append vecs, so we have to disable caching for now
false
// skipping rewrites is not enabled in this branch. It requires a cli argument.
true
}
}