diff --git a/crates/rpc/rpc/src/eth/api/transactions.rs b/crates/rpc/rpc/src/eth/api/transactions.rs index 4354f73d82..288e5b0db2 100644 --- a/crates/rpc/rpc/src/eth/api/transactions.rs +++ b/crates/rpc/rpc/src/eth/api/transactions.rs @@ -570,7 +570,7 @@ where tx.clone().into_ecrecovered().ok_or(EthApiError::InvalidTransactionSignature)?; // get all receipts for the block - let all_receipts = match self.client().receipts_by_block((meta.block_number).into())? { + let all_receipts = match self.cache().get_receipts(meta.block_hash).await? { Some(recpts) => recpts, None => return Err(EthApiError::UnknownBlockNumber), };