Removes unused Bank::accounts_data_size_limit() (#34700)
This commit is contained in:
parent
95f888ab54
commit
38494e5956
|
@ -110,7 +110,6 @@ use {
|
|||
solana_measure::{measure, measure::Measure, measure_us},
|
||||
solana_perf::perf_libs,
|
||||
solana_program_runtime::{
|
||||
accounts_data_meter::MAX_ACCOUNTS_DATA_LEN,
|
||||
compute_budget::ComputeBudget,
|
||||
compute_budget_processor::process_compute_budget_instructions,
|
||||
invoke_context::BuiltinFunctionWithContext,
|
||||
|
@ -5356,11 +5355,6 @@ impl Bank {
|
|||
}
|
||||
}
|
||||
|
||||
/// The maximum allowed size, in bytes, of the accounts data
|
||||
pub fn accounts_data_size_limit(&self) -> u64 {
|
||||
MAX_ACCOUNTS_DATA_LEN
|
||||
}
|
||||
|
||||
/// Load the accounts data size, in bytes
|
||||
pub fn load_accounts_data_size(&self) -> u64 {
|
||||
self.accounts_data_size_initial
|
||||
|
|
Loading…
Reference in New Issue