diff --git a/crates/rpc-types/src/eth/filter.rs b/crates/rpc-types/src/eth/filter.rs index 1344d6e5553..208878723dd 100644 --- a/crates/rpc-types/src/eth/filter.rs +++ b/crates/rpc-types/src/eth/filter.rs @@ -849,7 +849,7 @@ impl FilteredParams { /// Response of the `eth_getFilterChanges` RPC. #[derive(Clone, Debug, PartialEq, Eq, Serialize)] #[serde(untagged)] -pub enum FilterChanges { +pub enum FilterChanges { /// Empty result. #[serde(with = "empty_array")] Empty, @@ -858,7 +858,7 @@ pub enum FilterChanges { /// New hashes (block or transactions). Hashes(Vec), /// New transactions. - Transactions(Vec), + Transactions(Vec), } mod empty_array { @@ -879,10 +879,10 @@ impl<'de> Deserialize<'de> for FilterChanges { { #[derive(Deserialize)] #[serde(untagged)] - enum Changes { + enum Changes { Hashes(Vec), Logs(Vec), - Transactions(Vec), + Transactions(Vec), } let changes = Changes::deserialize(deserializer)?;