Skip to content

Commit fc45dd9

Browse files
author
Naohiro Yoshida
committed
fix clippy
Signed-off-by: Naohiro Yoshida <[email protected]>
1 parent 37f4bd9 commit fc45dd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

light-client/src/header/eth_header.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ impl TryFrom<RawETHHeader> for ETHHeader {
431431
None
432432
};
433433

434+
#[allow(clippy::absurd_extreme_comparisons)]
434435
if PASCAL_TIMESTAMP > 0 && timestamp >= PASCAL_TIMESTAMP && requests_hash.is_none() {
435436
return Err(Error::MissingRequestsHash(number));
436437
}

0 commit comments

Comments
 (0)