Skip to content

Commit

Permalink
chore: introduce receipts generic
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Dec 10, 2024
1 parent 73f1583 commit cfd3553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/net/eth-wire-types/src/receipts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub struct GetReceipts(
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(any(test, feature = "arbitrary"), derive(arbitrary::Arbitrary))]
#[add_arbitrary_tests(rlp)]
pub struct Receipts(
pub struct Receipts<T = Receipt>(
/// Each receipt hash should correspond to a block hash in the request.
pub Vec<Vec<ReceiptWithBloom<Receipt>>>,
pub Vec<Vec<ReceiptWithBloom<T>>>,
);

#[cfg(test)]
Expand Down

0 comments on commit cfd3553

Please sign in to comment.