Skip to content

Commit

Permalink
chore: relax from impl
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Nov 28, 2024
1 parent c4d3c8d commit 7e58340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/consensus/src/receipt/receipts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ where

impl<R> From<R> for ReceiptWithBloom<R>
where
R: TxReceipt<Log: Borrow<Log>>,
R: TxReceipt,
{
fn from(receipt: R) -> Self {
let logs_bloom = receipt.logs().iter().map(Borrow::borrow).collect();
Self { receipt, logs_bloom }
let logs_bloom = receipt.bloom();
Self { logs_bloom, receipt }
}
}

Expand Down

0 comments on commit 7e58340

Please sign in to comment.