Skip to content

Commit

Permalink
Revert "separate priority fee and transaction fee from fee calculation (
Browse files Browse the repository at this point in the history
#34757)"

This reverts commit 5ecc47e.

(cherry picked from commit df2ee12)

# Conflicts:
#	sdk/src/fee.rs
  • Loading branch information
tao-stones authored and mergify[bot] committed Jan 30, 2024
1 parent 314706d commit 0f603be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sdk/src/fee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ impl FeeStructure {
pub fn calculate_fee(
&self,
message: &SanitizedMessage,
<<<<<<< HEAD
<<<<<<< HEAD
_lamports_per_signature: u64,
budget_limits: &FeeBudgetLimits,
Expand Down Expand Up @@ -109,6 +110,12 @@ impl FeeStructure {
include_loaded_account_data_size_in_fee: bool,
) -> FeeDetails {
>>>>>>> 15423928c1 (Revert "refactor unused parameter (#34970)")
=======
_lamports_per_signature: u64,
budget_limits: &FeeBudgetLimits,
include_loaded_account_data_size_in_fee: bool,
) -> u64 {
>>>>>>> df2ee120e9 (Revert "separate priority fee and transaction fee from fee calculation (#34757)")
let signature_fee = message
.num_signatures()
.saturating_mul(self.lamports_per_signature);
Expand Down

0 comments on commit 0f603be

Please sign in to comment.