Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Rename distribute_transaction_fees into note_transaction_fees
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Dec 14, 2021
1 parent 76818e3 commit f8ce741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/pallet-transaction-fees/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ where
transaction_byte_fee
}

pub fn distribute_transaction_fees(
pub fn note_transaction_fees(
storage_fee: BalanceOf<T>,
compute_fee: BalanceOf<T>,
tip: BalanceOf<T>,
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl pallet_transaction_payment::OnChargeTransaction<Runtime> for OnChargeTransa
// Split paid storage and compute fees so that they can be distributed separately.
let (paid_storage_fee, paid_compute_fee) = fee.split(storage_fee);

TransactionFees::distribute_transaction_fees(
TransactionFees::note_transaction_fees(
paid_storage_fee.peek(),
paid_compute_fee.peek(),
tip.peek(),
Expand Down

0 comments on commit f8ce741

Please sign in to comment.