fix: eth_getRawReceipts (#7101)

This commit is contained in:
greged93
2024-03-12 11:59:51 +01:00
committed by GitHub
parent 024bb264b7
commit 7a83143ae1
2 changed files with 25 additions and 7 deletions

View File

@@ -685,11 +685,7 @@ where
.to_rpc_result()?
.unwrap_or_default()
.into_iter()
.map(|receipt| {
let mut buf = Vec::new();
receipt.with_bloom().encode(&mut buf);
Bytes::from(buf)
})
.map(|receipt| receipt.with_bloom().envelope_encoded())
.collect())
}