remove unnecessary wrapper (#4559)
This commit is contained in:
parent
d26fd27bf9
commit
3433b08b8c
|
@ -282,7 +282,7 @@ impl Accounts {
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn load_accounts_internal(
|
pub fn load_accounts(
|
||||||
&self,
|
&self,
|
||||||
ancestors: &HashMap<Fork, usize>,
|
ancestors: &HashMap<Fork, usize>,
|
||||||
txs: &[Transaction],
|
txs: &[Transaction],
|
||||||
|
@ -547,17 +547,6 @@ impl Accounts {
|
||||||
self.accounts_db.has_accounts(fork)
|
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
|
/// Store the accounts into the DB
|
||||||
pub fn store_accounts(
|
pub fn store_accounts(
|
||||||
&self,
|
&self,
|
||||||
|
|
Loading…
Reference in New Issue