Skip to content

Commit

Permalink
fixup! Bitfinex: Subscribe and Unsubscribe atomicly
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Sep 18, 2023
1 parent ad76296 commit 38904fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/stream/stream_match.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (m *Match) IncomingWithData(signature interface{}, data []byte) bool {
return false
}

// Sets the signature response channel for incoming data
// Set the signature response channel for incoming data
func (m *Match) Set(signature interface{}) (matcher, error) {

Check warning on line 48 in exchanges/stream/stream_match.go

View workflow job for this annotation

GitHub Actions / lint

unexported-return: exported method Set returns unexported type stream.matcher, which can be annoying to use (revive)
var ch chan []byte
m.mu.Lock()
Expand Down

0 comments on commit 38904fc

Please sign in to comment.