From 68a730559b194d2e46681b898eb0fb96f807e192 Mon Sep 17 00:00:00 2001 From: sprites0 <199826320+sprites0@users.noreply.github.com> Date: Wed, 2 Jul 2025 16:45:58 +0000 Subject: [PATCH] chore: clippy --- src/node/rpc/block.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/rpc/block.rs b/src/node/rpc/block.rs index 14147eb4f..b4a892fff 100644 --- a/src/node/rpc/block.rs +++ b/src/node/rpc/block.rs @@ -168,7 +168,7 @@ where .ok_or(EthApiError::HeaderNotFound(hash.into()))?; let blob_params = self.provider().chain_spec().blob_params_at_timestamp(meta.timestamp); - Ok(build_receipt(&tx, meta, &receipt, &all_receipts, blob_params, |receipt_with_bloom| { + build_receipt(&tx, meta, &receipt, &all_receipts, blob_params, |receipt_with_bloom| { match receipt.tx_type { TxType::Legacy => ReceiptEnvelope::Legacy(receipt_with_bloom), TxType::Eip2930 => ReceiptEnvelope::Eip2930(receipt_with_bloom), @@ -176,6 +176,6 @@ where TxType::Eip4844 => ReceiptEnvelope::Eip4844(receipt_with_bloom), TxType::Eip7702 => ReceiptEnvelope::Eip7702(receipt_with_bloom), } - })?) + }) } }