mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 14:47:55 +00:00
make compute_fee public (#4669)
This commit is contained in:
committed by
Bastian Köcher
parent
bd0e72ffad
commit
b72ba98b97
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user