Bank::default_for_tests() (#19084)
This commit is contained in:
committed by
GitHub
parent
24207a09ac
commit
a9014ceceb
@ -2101,7 +2101,7 @@ mod tests {
|
||||
fn test_should_process_or_forward_packets() {
|
||||
let my_pubkey = solana_sdk::pubkey::new_rand();
|
||||
let my_pubkey1 = solana_sdk::pubkey::new_rand();
|
||||
let bank = Arc::new(Bank::default());
|
||||
let bank = Arc::new(Bank::default_for_tests());
|
||||
assert_matches!(
|
||||
BankingStage::consume_or_forward_packets(&my_pubkey, None, Some(&bank), false, false),
|
||||
BufferedPacketsDecision::Hold
|
||||
|
Reference in New Issue
Block a user