Skip to content

Commit f8ce741

Browse files
committed
Rename distribute_transaction_fees into note_transaction_fees
1 parent 76818e3 commit f8ce741

File tree

2 files changed

+2
-2
lines changed
  • crates

2 files changed

+2
-2
lines changed

crates/pallet-transaction-fees/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ where
277277
transaction_byte_fee
278278
}
279279

280-
pub fn distribute_transaction_fees(
280+
pub fn note_transaction_fees(
281281
storage_fee: BalanceOf<T>,
282282
compute_fee: BalanceOf<T>,
283283
tip: BalanceOf<T>,

crates/subspace-runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ impl pallet_transaction_payment::OnChargeTransaction<Runtime> for OnChargeTransa
422422
// Split paid storage and compute fees so that they can be distributed separately.
423423
let (paid_storage_fee, paid_compute_fee) = fee.split(storage_fee);
424424

425-
TransactionFees::distribute_transaction_fees(
425+
TransactionFees::note_transaction_fees(
426426
paid_storage_fee.peek(),
427427
paid_compute_fee.peek(),
428428
tip.peek(),

0 commit comments

Comments
 (0)