mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
Use associated constant for max (#3375)
This commit is contained in:
@@ -32,7 +32,7 @@ impl UnifiedReputationChange {
|
||||
Self::CostMajor(_) => -300_000,
|
||||
Self::CostMinorRepeated(_) => -200_000,
|
||||
Self::CostMajorRepeated(_) => -600_000,
|
||||
Self::Malicious(_) => i32::min_value(),
|
||||
Self::Malicious(_) => i32::MIN,
|
||||
Self::BenefitMajorFirst(_) => 300_000,
|
||||
Self::BenefitMajor(_) => 200_000,
|
||||
Self::BenefitMinorFirst(_) => 15_000,
|
||||
|
||||
Reference in New Issue
Block a user