From 083890928f3558b616850f863e46253c77db9b40 Mon Sep 17 00:00:00 2001 From: Tao Zhu <82401714+tao-stones@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:28:44 -0600 Subject: [PATCH] refactor unused parameter (#34970) --- sdk/src/fee.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/src/fee.rs b/sdk/src/fee.rs index bd3af75e70da18..de77ac11436595 100644 --- a/sdk/src/fee.rs +++ b/sdk/src/fee.rs @@ -92,13 +92,12 @@ impl FeeStructure { pub fn calculate_fee( &self, message: &SanitizedMessage, - lamports_per_signature: u64, + _unused: 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, ) @@ -110,7 +109,6 @@ 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 {