Skip to content

Commit

Permalink
chore(rpc): Make Deserialize impl for FilterChanges generic over …
Browse files Browse the repository at this point in the history
…transaction (#1118)

Make Deserialize impl for FilterChanges generic over transaction
  • Loading branch information
emhane authored Aug 1, 2024
1 parent 74efdec commit a011cc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/rpc-types-eth/src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,10 @@ mod empty_array {
}
}

impl<'de> Deserialize<'de> for FilterChanges {
impl<'de, T> Deserialize<'de> for FilterChanges<T>
where
T: Deserialize<'de>,
{
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: Deserializer<'de>,
Expand Down

0 comments on commit a011cc5

Please sign in to comment.