name arguments to help with confusion (#17942)
This commit is contained in:
parent
62e1b20e56
commit
7fde9b6ff0
|
@ -4830,8 +4830,16 @@ impl AccountsDb {
|
||||||
) -> Result<(), BankHashVerificationError> {
|
) -> Result<(), BankHashVerificationError> {
|
||||||
use BankHashVerificationError::*;
|
use BankHashVerificationError::*;
|
||||||
|
|
||||||
let (calculated_hash, calculated_lamports) =
|
let use_index = true;
|
||||||
self.calculate_accounts_hash_helper(true, slot, ancestors, true, false)?;
|
let check_hash = true;
|
||||||
|
let can_cached_slot_be_unflushed = false;
|
||||||
|
let (calculated_hash, calculated_lamports) = self.calculate_accounts_hash_helper(
|
||||||
|
use_index,
|
||||||
|
slot,
|
||||||
|
ancestors,
|
||||||
|
check_hash,
|
||||||
|
can_cached_slot_be_unflushed,
|
||||||
|
)?;
|
||||||
|
|
||||||
if calculated_lamports != total_lamports {
|
if calculated_lamports != total_lamports {
|
||||||
warn!(
|
warn!(
|
||||||
|
|
Loading…
Reference in New Issue