ledger tool halt at slot verify hash (#23424) (#23677)

(cherry picked from commit ef8b7d9c62)

Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
This commit is contained in:
mergify[bot]
2022-03-15 16:17:29 +00:00
committed by GitHub
parent b0543a1ae6
commit 48dc4b3bb2
2 changed files with 3 additions and 1 deletions

View File

@ -5750,7 +5750,7 @@ impl Bank {
/// snapshot.
/// Only called from startup or test code.
#[must_use]
fn verify_bank_hash(&self, test_hash_calculation: bool) -> bool {
pub fn verify_bank_hash(&self, test_hash_calculation: bool) -> bool {
self.rc.accounts.verify_bank_hash_and_lamports(
self.slot(),
&self.ancestors,