Use MAX associated const (#9196)

* Use MAX associated const
This commit is contained in:
Squirrel authored and GitHub committed 2021-06-24 11:53:49 +01:00
1 parent 09d9c2c9f6
commit ea1f21a904
56 files changed
+178 -178

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ parameter_types! {
pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
pub const MaxNominatorRewardedPerValidator: u32 = 64;
pub const ElectionLookahead: u64 = 0;
pub const StakingUnsignedPriority: u64 = u64::max_value() / 2;
pub const StakingUnsignedPriority: u64 = u64::MAX / 2;
}
impl onchain::Config for Test {