From 1036d4409b4e8236591afa5435aa4ad088e4f37c Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Mon, 5 Dec 2022 13:00:01 -0600 Subject: [PATCH] test_verify_snapshot_bank works without write cache (#29075) --- runtime/src/bank.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 57adb70e05..c915df9e24 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -11766,6 +11766,7 @@ pub(crate) mod tests { ) .unwrap(); bank.freeze(); + add_root_and_flush_write_cache(&bank); bank.update_accounts_hash_for_tests(); assert!(bank.verify_snapshot_bank(true, false, bank.slot()));