do not use index for verify_bank_hash_and_lamports (#17812)

This commit is contained in:
Jeff Washington (jwash) 2021-06-16 09:10:38 -05:00 committed by GitHub
parent 55ee3b5f2f
commit adc683956f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4870,7 +4870,7 @@ impl AccountsDb {
) -> Result<(), BankHashVerificationError> {
use BankHashVerificationError::*;
let use_index = true;
let use_index = false;
let check_hash = true;
let can_cached_slot_be_unflushed = false;
let (calculated_hash, calculated_lamports) = self