fix ledger tool final hash calc (#27725)

fix ledger tool final hash calc
This commit is contained in:
Jeff Washington (jwash) 2022-09-12 11:09:34 -07:00 committed by GitHub
parent 0cff1eff08
commit f0770c199e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1559,7 +1559,7 @@ fn load_frozen_forks(
fn run_final_hash_calc(bank: &Bank, on_halt_store_hash_raw_data_for_debug: bool) {
bank.force_flush_accounts_cache();
let can_cached_slot_be_unflushed = true;
let can_cached_slot_be_unflushed = false;
// note that this slot may not be a root
let _ = bank.verify_bank_hash(VerifyBankHash {
test_hash_calculation: false,