From 71c407caded91350a4b3c2df5c9b3b2dbaa5d7c3 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Tue, 7 Nov 2023 08:49:57 +0100 Subject: [PATCH] chore: review feedback improvements Co-authored-by: Daniel Olshansky --- internal/testclient/testeventsquery/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/testclient/testeventsquery/client.go b/internal/testclient/testeventsquery/client.go index bdf02c2f7..3e5ea41c1 100644 --- a/internal/testclient/testeventsquery/client.go +++ b/internal/testclient/testeventsquery/client.go @@ -18,7 +18,7 @@ import ( "github.com/pokt-network/poktroll/pkg/observable/channel" ) -// NewLocalnetClient creates and returns a new events query client that configured +// NewLocalnetClient creates and returns a new events query client that's configured // for use with the localnet sequencer. Any options provided are applied to the client. func NewLocalnetClient(t *testing.T, opts ...client.EventsQueryClientOption) client.EventsQueryClient { t.Helper() @@ -28,7 +28,7 @@ func NewLocalnetClient(t *testing.T, opts ...client.EventsQueryClientOption) cli // NewOneTimeEventsQuery creates a mock of the EventsQueryClient which expects // a single call to the EventsBytes method. It returns a mock client whose event -// bytes method always constructs a new observable. query is the query string +// bytes method always constructs a new observable. query is the query string // for which event bytes subscription is expected to be for. // The caller can simulate blockchain events by sending on publishCh, the value // of which is set to the publish channel of the events bytes observable publish @@ -54,7 +54,7 @@ func NewOneTimeEventsQuery( return eventsQueryClient } -// NewOneTimeTxEventsQueryClient creates a mock of the Events that expects to to +// NewOneTimeTxEventsQueryClient creates a mock of the Events that expects // a single call to the EventsBytes method where the query is for transaction // events for sender address matching that of the given key. // The caller can simulate blockchain events by sending on publishCh, the value