Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
make compute_fee public (#4669)
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc authored and bkchr committed Jan 18, 2020
1 parent 8de5340 commit 0097939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/transaction-payment/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl<T: Trait + Send + Sync> ChargeTransactionPayment<T> {
/// transactions can have a tip.
///
/// final_fee = base_fee + targeted_fee_adjustment(len_fee + weight_fee) + tip;
fn compute_fee(
pub fn compute_fee(
len: u32,
info: <Self as SignedExtension>::DispatchInfo,
tip: BalanceOf<T>,
Expand Down

0 comments on commit 0097939

Please sign in to comment.