remove index hash calculation as an option (#23928)

(cherry picked from commit c24de17278)

# Conflicts:
#	validator/src/main.rs
This commit is contained in:
Jeff Washington (jwash)
2022-03-25 15:32:53 -05:00
parent 832f524687
commit 87b797bd99
8 changed files with 38 additions and 24 deletions

View File

@@ -1259,7 +1259,7 @@ fn load_frozen_forks(
new_root_bank.exhaustively_free_unused_resource(*last_full_snapshot_slot);
last_free = Instant::now();
new_root_bank.update_accounts_hash_with_index_option(
snapshot_config.accounts_hash_use_index,
false,
snapshot_config.accounts_hash_debug_verify,
false,
);