Revert "refactor unused parameter (#34970)"

This reverts commit 083890928f.
This commit is contained in:
Tao Zhu 2024-01-30 21:57:44 +00:00 committed by Tao Zhu
parent c6c23405d6
commit 15423928c1
1 changed files with 3 additions and 1 deletions

View File

@ -92,12 +92,13 @@ impl FeeStructure {
pub fn calculate_fee(
&self,
message: &SanitizedMessage,
_unused: u64,
lamports_per_signature: u64,
budget_limits: &FeeBudgetLimits,
include_loaded_account_data_size_in_fee: bool,
) -> u64 {
self.calculate_fee_details(
message,
lamports_per_signature,
budget_limits,
include_loaded_account_data_size_in_fee,
)
@ -109,6 +110,7 @@ impl FeeStructure {
pub fn calculate_fee_details(
&self,
message: &SanitizedMessage,
_lamports_per_signature: u64,
budget_limits: &FeeBudgetLimits,
include_loaded_account_data_size_in_fee: bool,
) -> FeeDetails {