From 0966d1130a3cf26d291811ecb39cb4a3fe9ee922 Mon Sep 17 00:00:00 2001 From: cameroncooper Date: Tue, 24 Sep 2024 20:58:07 -0500 Subject: [PATCH] add transaction event filter (#7) --- internal/cmd/coinset/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/coinset/events.go b/internal/cmd/coinset/events.go index bc41900..ac59b63 100644 --- a/internal/cmd/coinset/events.go +++ b/internal/cmd/coinset/events.go @@ -17,10 +17,10 @@ var eventsCmd = &cobra.Command{ Long: `Connect to the Coinset WebSocket and display events. Optionally filter by event type. Valid types are: - peak - - mempool + - transaction - offer If no type is specified, all events will be displayed.`, - ValidArgs: []string{"peak", "mempool", "offer"}, + ValidArgs: []string{"peak", "transaction", "offer"}, Args: cobra.MaximumNArgs(1), Run: runEvents, }