remove unnecessary wrapper (#4559)

This commit is contained in:
Rob Walker 2019-06-05 11:43:41 -07:00 committed by GitHub
parent d26fd27bf9
commit 3433b08b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 12 deletions

View File

@ -282,7 +282,7 @@ impl Accounts {
.collect()
}
fn load_accounts_internal(
pub fn load_accounts(
&self,
ancestors: &HashMap<Fork, usize>,
txs: &[Transaction],
@ -547,17 +547,6 @@ impl Accounts {
self.accounts_db.has_accounts(fork)
}
pub fn load_accounts(
&self,
ancestors: &HashMap<Fork, usize>,
txs: &[Transaction],
results: Vec<Result<()>>,
fee_calculator: &FeeCalculator,
error_counters: &mut ErrorCounters,
) -> Vec<Result<(InstructionAccounts, InstructionLoaders)>> {
self.load_accounts_internal(ancestors, txs, results, fee_calculator, error_counters)
}
/// Store the accounts into the DB
pub fn store_accounts(
&self,