mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: clippy
This commit is contained in:
@ -168,7 +168,7 @@ where
|
|||||||
.ok_or(EthApiError::HeaderNotFound(hash.into()))?;
|
.ok_or(EthApiError::HeaderNotFound(hash.into()))?;
|
||||||
let blob_params = self.provider().chain_spec().blob_params_at_timestamp(meta.timestamp);
|
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 {
|
match receipt.tx_type {
|
||||||
TxType::Legacy => ReceiptEnvelope::Legacy(receipt_with_bloom),
|
TxType::Legacy => ReceiptEnvelope::Legacy(receipt_with_bloom),
|
||||||
TxType::Eip2930 => ReceiptEnvelope::Eip2930(receipt_with_bloom),
|
TxType::Eip2930 => ReceiptEnvelope::Eip2930(receipt_with_bloom),
|
||||||
@ -176,6 +176,6 @@ where
|
|||||||
TxType::Eip4844 => ReceiptEnvelope::Eip4844(receipt_with_bloom),
|
TxType::Eip4844 => ReceiptEnvelope::Eip4844(receipt_with_bloom),
|
||||||
TxType::Eip7702 => ReceiptEnvelope::Eip7702(receipt_with_bloom),
|
TxType::Eip7702 => ReceiptEnvelope::Eip7702(receipt_with_bloom),
|
||||||
}
|
}
|
||||||
})?)
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user