diff --git a/runtime/common/src/fees.rs b/runtime/common/src/fees.rs index acee3e2c2dc81e7cb61076ec0ecd707f5d7ae1d4..bc41727b299349048d5016374993dcedcb81d1f4 100644 --- a/runtime/common/src/fees.rs +++ b/runtime/common/src/fees.rs @@ -24,10 +24,7 @@ pub use frame_support::weights::{Weight, WeightToFee}; use pallet_transaction_payment::{Multiplier, MultiplierUpdate}; use sp_arithmetic::traits::{BaseArithmetic, Unsigned}; use sp_core::Get; -use sp_runtime::{ - traits::{Convert, One}, - Perquintill, -}; +use sp_runtime::{traits::Convert, Perquintill}; #[cfg(not(feature = "constant-fees"))] use { crate::weights::extrinsic_weights::ExtrinsicBaseWeight, @@ -37,6 +34,7 @@ use { }, smallvec::smallvec, sp_arithmetic::MultiplyRational, + sp_runtime::traits::One, sp_runtime::Perbill, sp_runtime::SaturatedConversion, sp_runtime::Saturating, @@ -189,7 +187,7 @@ where X: Get<Multiplier>, { fn min() -> Multiplier { - 1.into() + 0.into() } fn max() -> Multiplier {