Bank::new -> Bank::new_for_benches (#19063)

This commit is contained in:
Jeff Washington (jwash)
2021-08-04 17:30:43 -05:00
committed by GitHub
parent 3280ae3e9f
commit bde9b4de94
7 changed files with 15 additions and 10 deletions

View File

@@ -1052,6 +1052,11 @@ impl Bank {
Self::new_for_tests(genesis_config)
}
pub fn new_for_benches(genesis_config: &GenesisConfig) -> Self {
// this will diverge
Self::new_for_tests(genesis_config)
}
pub fn new_for_tests(genesis_config: &GenesisConfig) -> Self {
// this will diverge
Self::new_with_paths(