fix teerdays unlock mismatch #301
Merged
GitHub Actions / clippy
succeeded
Aug 27, 2024 in 1s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check warning on line 611 in polkadot-parachains/integritee-runtime/src/lib.rs
github-actions / clippy
usage of a legacy numeric method
warning: usage of a legacy numeric method
--> polkadot-parachains/integritee-runtime/src/lib.rs:611:43
|
611 | pub const MaxBalance: Balance = Balance::max_value();
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `#[warn(clippy::legacy_numeric_constants)]` on by default
help: use the associated constant instead
|
611 | pub const MaxBalance: Balance = Balance::MAX;
| ~~~
Loading