mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 18:01:07 +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:
1 parent
1df943cd6d
commit
b438b47f1a
2 files changed
+10
-8
No files matched your search
@@ -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