We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab3113 commit bfde973Copy full SHA for bfde973
crates/anvil/src/eth/otterscan/api.rs
@@ -87,7 +87,7 @@ impl EthApi {
87
if let Some(receipt) = self.backend.mined_transaction_receipt(hash)
88
&& !receipt.inner.inner.as_receipt_with_bloom().receipt.status.coerce_status()
89
{
90
- return Ok(receipt.out.map(|b| b.0.into()).unwrap_or(Bytes::default()));
+ return Ok(receipt.out.unwrap_or_default());
91
}
92
93
Ok(Bytes::default())
0 commit comments