diff --git a/tendermint/src/rpc/event_listener.rs b/tendermint/src/rpc/event_listener.rs index 858f37e23..d0fecaf8d 100644 --- a/tendermint/src/rpc/event_listener.rs +++ b/tendermint/src/rpc/event_listener.rs @@ -19,6 +19,7 @@ use tokio::net::TcpStream; /// There are only two valid queries to the websocket. A query that subscribes to all transactions /// and a query that susbscribes to all blocks. +#[derive(Serialize, Deserialize, Debug, Clone)] pub enum EventSubscription { /// Subscribe to all transactions TransactionSubscription,