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

fix integrity error

parent 74177ae7
No related branches found
No related tags found
1 merge request!268Fix #232
Pipeline #37198 passed
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment