introduce Bank::new_for_tests (#19062)
This commit is contained in:
committed by
GitHub
parent
ca14475085
commit
1ed12a07ab
@@ -22,7 +22,7 @@ pub fn setup_bank_and_vote_pubkeys(num_vote_accounts: usize, stake: u64) -> (Ban
|
||||
&validator_voting_keypairs,
|
||||
vec![stake; validator_voting_keypairs.len()],
|
||||
);
|
||||
let bank = Bank::new(&genesis_config);
|
||||
let bank = Bank::new_for_tests(&genesis_config);
|
||||
(bank, vote_pubkeys)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user