mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 20:17:57 +00:00
relax input conditions of fixed::checked_from_integer (#11159)
* relax input conditions of fixed::checked_from_integer * Fix build
This commit is contained in:
@@ -348,7 +348,7 @@ pub mod pallet {
|
||||
// loss.
|
||||
assert!(
|
||||
<Multiplier as sp_runtime::traits::Bounded>::max_value() >=
|
||||
Multiplier::checked_from_integer(
|
||||
Multiplier::checked_from_integer::<u128>(
|
||||
T::BlockWeights::get().max_block.try_into().unwrap()
|
||||
)
|
||||
.unwrap(),
|
||||
|
||||
Reference in New Issue
Block a user