File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ upper-case-acronyms-aggressive = true
44# <https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown>
55doc-valid-idents = [
66 " RandomX" ,
7+ " PoW" ,
8+ " PoWER" ,
9+ " RandomX" ,
10+ " EquiX" ,
711 # This adds the rest of the default exceptions.
812 " .."
913]
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ impl BlockchainContext {
143143 ///
144144 /// ref: <https://cuprate.github.io/monero-book/consensus_rules/transactions/unlock_time.html#getting-the-current-time>
145145 pub fn current_adjusted_timestamp_for_time_lock ( & self ) -> u64 {
146+ // FIXME: use if let chain with Rust 2024.
146147 if self . current_hf < HardFork :: V13 {
147148 return current_unix_timestamp ( ) ;
148149 }
You can’t perform that action at this time.
0 commit comments