diff --git a/clippy.toml b/clippy.toml index d558c4688..e34f4085c 100644 --- a/clippy.toml +++ b/clippy.toml @@ -4,6 +4,10 @@ upper-case-acronyms-aggressive = true # doc-valid-idents = [ "RandomX", + "PoW", + "PoWER", + "RandomX", + "EquiX", # This adds the rest of the default exceptions. ".." ] diff --git a/consensus/context/src/lib.rs b/consensus/context/src/lib.rs index f5c7df174..f8be633ff 100644 --- a/consensus/context/src/lib.rs +++ b/consensus/context/src/lib.rs @@ -143,6 +143,7 @@ impl BlockchainContext { /// /// ref: pub fn current_adjusted_timestamp_for_time_lock(&self) -> u64 { + // FIXME: use if let chain with Rust 2024. if self.current_hf < HardFork::V13 { return current_unix_timestamp(); }