mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: make clippy happy (#12594)
This commit is contained in:
@ -416,7 +416,7 @@ where
|
||||
.with_static_files_metrics();
|
||||
|
||||
let has_receipt_pruning =
|
||||
self.toml_config().prune.as_ref().map_or(false, |a| a.has_receipts_pruning());
|
||||
self.toml_config().prune.as_ref().is_some_and(|a| a.has_receipts_pruning());
|
||||
|
||||
// Check for consistency between database and static files. If it fails, it unwinds to
|
||||
// the first block that's consistent between database and static files.
|
||||
|
||||
Reference in New Issue
Block a user