test_bank_update_vote_stake_rewards works with write cache (#29044)

This commit is contained in:
Jeff Washington (jwash) 2022-12-02 12:19:43 -06:00 committed by GitHub
parent 00ba78bd2d
commit 5104f4ef0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -10342,6 +10342,8 @@ pub(crate) mod tests {
]
);
bank1.freeze();
add_root_and_flush_write_cache(&bank0);
add_root_and_flush_write_cache(&bank1);
assert!(bank1.calculate_and_verify_capitalization(true));
}