mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Enable clippy's equatable_if_let linter (#7221)
This commit is contained in:
@ -349,7 +349,7 @@ where
|
||||
// is stripped from the transaction and not included in a block.
|
||||
// check if the blob is in the store, if it's included we previously validated
|
||||
// it and inserted it
|
||||
if let Ok(true) = self.blob_store.contains(*transaction.hash()) {
|
||||
if matches!(self.blob_store.contains(*transaction.hash()), Ok(true)) {
|
||||
// validated transaction is already in the store
|
||||
} else {
|
||||
return TransactionValidationOutcome::Invalid(
|
||||
|
||||
Reference in New Issue
Block a user