Enable dupword linter & fix findings (#12271)

* Enable dupword linter & fix findings

* Correct an incorrect fix

* Add nolint comment

* Add another nolint comment

* Revert unintended change to bazel version

---------

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
Justin Traglia
2023-04-18 17:01:27 -05:00
committed by GitHub
parent b6181f8d1a
commit 4c916403e9
34 changed files with 43 additions and 33 deletions

View File

@@ -26,7 +26,7 @@ type Streamer interface {
LogsFeed() *event.Feed
}
// StreamServer defines a a websocket server which can receive events from
// StreamServer defines a websocket server which can receive events from
// a feed and write them to open websocket connections.
type StreamServer struct {
feed *event.Feed
@@ -56,7 +56,7 @@ func (ss *StreamServer) GetLastFewLogs() [][]byte {
return messages
}
// LogsFeed returns a feed callers can subscribe to to receive logs via a channel.
// LogsFeed returns a feed callers can subscribe to receive logs via a channel.
func (ss *StreamServer) LogsFeed() *event.Feed {
return ss.feed
}