Skip to content

Commit

Permalink
Removes accounts hash calculation with index from AccountsHashVerifier (
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jun 24, 2024
1 parent 0acaece commit a49bae8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/src/accounts_hash_verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,6 @@ impl AccountsHashVerifier {
let calculate_accounts_hash_config = CalcAccountsHashConfig {
// since we're going to assert, use the fg thread pool to go faster
use_bg_thread_pool: false,
..calculate_accounts_hash_config
};
let result_with_index = accounts_package
.accounts
.accounts_db
.calculate_accounts_hash_from_index(slot, &calculate_accounts_hash_config);
info!("hash calc with index: {slot}, {result_with_index:?}",);
let calculate_accounts_hash_config = CalcAccountsHashConfig {
// now that we've failed, store off the failing contents that produced a bad capitalization
store_detailed_debug_info_on_failure: true,
..calculate_accounts_hash_config
Expand Down

0 comments on commit a49bae8

Please sign in to comment.