Skip to content

Commit

Permalink
use ReceiptWithBloom::from
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Dec 12, 2024
1 parent af6bc7a commit a5cb6b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/net/network/src/eth_requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,7 @@ where
{
let receipt = receipts_by_block
.into_iter()
.map(|receipt| {
// TODO: use `into_with_bloom` on new alloy release
let bloom = receipt.bloom();
ReceiptWithBloom::new(receipt, bloom)
})
.map(ReceiptWithBloom::from)
.collect::<Vec<_>>();

total_bytes += receipt.length();
Expand Down

0 comments on commit a5cb6b4

Please sign in to comment.