verify bank hash on startup with ledger tool option (#17939)
This commit is contained in:
committed by
GitHub
parent
1b1d34da59
commit
f558b9b6bf
@ -146,6 +146,7 @@ mod tests {
|
||||
|
||||
let old_last_bank = old_bank_forks.get(old_last_slot).unwrap();
|
||||
|
||||
let check_hash_calculation = false;
|
||||
let (deserialized_bank, _timing) = snapshot_utils::bank_from_archive(
|
||||
&account_paths,
|
||||
&[],
|
||||
@ -167,6 +168,7 @@ mod tests {
|
||||
false,
|
||||
None,
|
||||
accounts_db::AccountShrinkThreshold::default(),
|
||||
check_hash_calculation,
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
|
Reference in New Issue
Block a user