Skip to content
Snippets Groups Projects
Unverified Commit 305d7c1c authored by bgallois's avatar bgallois
Browse files

fix integrity error

parent 3847b08e
No related branches found
No related tags found
No related merge requests found
Pipeline #37196 passed
...@@ -24,10 +24,7 @@ pub use frame_support::weights::{Weight, WeightToFee}; ...@@ -24,10 +24,7 @@ pub use frame_support::weights::{Weight, WeightToFee};
use pallet_transaction_payment::{Multiplier, MultiplierUpdate}; use pallet_transaction_payment::{Multiplier, MultiplierUpdate};
use sp_arithmetic::traits::{BaseArithmetic, Unsigned}; use sp_arithmetic::traits::{BaseArithmetic, Unsigned};
use sp_core::Get; use sp_core::Get;
use sp_runtime::{ use sp_runtime::{traits::Convert, Perquintill};
traits::{Convert, One},
Perquintill,
};
#[cfg(not(feature = "constant-fees"))] #[cfg(not(feature = "constant-fees"))]
use { use {
crate::weights::extrinsic_weights::ExtrinsicBaseWeight, crate::weights::extrinsic_weights::ExtrinsicBaseWeight,
...@@ -37,6 +34,7 @@ use { ...@@ -37,6 +34,7 @@ use {
}, },
smallvec::smallvec, smallvec::smallvec,
sp_arithmetic::MultiplyRational, sp_arithmetic::MultiplyRational,
sp_runtime::traits::One,
sp_runtime::Perbill, sp_runtime::Perbill,
sp_runtime::SaturatedConversion, sp_runtime::SaturatedConversion,
sp_runtime::Saturating, sp_runtime::Saturating,
...@@ -189,7 +187,7 @@ where ...@@ -189,7 +187,7 @@ where
X: Get<Multiplier>, X: Get<Multiplier>,
{ {
fn min() -> Multiplier { fn min() -> Multiplier {
1.into() 0.into()
} }
fn max() -> Multiplier { fn max() -> Multiplier {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment