Skip to content

Commit

Permalink
add Clone to EventSubscription (informalsystems#315)
Browse files Browse the repository at this point in the history
* add Clone to EventSubscription

* Update tendermint/src/rpc/event_listener.rs

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
  • Loading branch information
ancazamfir and liamsi committed Jun 9, 2020
1 parent eda96b4 commit 740cb66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tendermint/src/rpc/event_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 740cb66

Please sign in to comment.