Skip to content

Commit

Permalink
refactor unused parameter (#34970)
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones authored Jan 26, 2024
1 parent 3380c14 commit 0838909
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sdk/src/fee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand All @@ -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 {
Expand Down

0 comments on commit 0838909

Please sign in to comment.