accounts default refactoring stragglers (#19097)

This commit is contained in:
Jeff Washington (jwash)
2021-08-06 12:36:42 -05:00
committed by GitHub
parent 397801a2d8
commit 41f4973f0d
3 changed files with 25 additions and 8 deletions

View File

@ -73,7 +73,7 @@ fn test_shrink_and_clean() {
fn test_bad_bank_hash() {
solana_logger::setup();
use solana_sdk::signature::{Keypair, Signer};
let db = AccountsDb::new(Vec::new(), &ClusterType::Development);
let db = AccountsDb::new_for_tests(Vec::new(), &ClusterType::Development);
let some_slot: Slot = 0;
let ancestors = Ancestors::from(vec![some_slot]);