diff --git a/ledger/src/blockstore_processor.rs b/ledger/src/blockstore_processor.rs index 8db00eda8b56b0..3e2318ec33a057 100644 --- a/ledger/src/blockstore_processor.rs +++ b/ledger/src/blockstore_processor.rs @@ -835,6 +835,7 @@ pub fn process_blockstore_from_root( // We might be promptly restarted after bad capitalization was detected while creating newer snapshot. // In that case, we're most likely restored from the last good snapshot and replayed up to this root. // So again check here for the bad capitalization to avoid to continue until the next snapshot creation. + let bank = bank_forks.read().unwrap().root_bank(); bank.wait_for_startup_verification_complete(); if !bank.calculate_and_verify_capitalization(opts.accounts_db_test_hash_calculation) { return Err(