do not use index for verify_bank_hash_and_lamports (#17812) (#18010)

(cherry picked from commit adc683956f)

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-06-16 21:33:30 +00:00
committed by GitHub
parent 6479c11e9a
commit c28e6ebc4c

View File

@ -4701,7 +4701,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