Skip to content

Commit

Permalink
update channel type
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy04 committed Mar 2, 2024
1 parent fe41e97 commit 0d40546
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion protocol/streaming/grpc/grpc_streaming_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (sm *GrpcStreamingManagerImpl) Subscribe(
req clobtypes.StreamOrderbookUpdatesRequest,
srv clobtypes.Query_StreamOrderbookUpdatesServer,
) (
finished chan<- bool,
finished chan bool,
err error,
) {
return nil, nil
Expand Down
2 changes: 1 addition & 1 deletion protocol/streaming/grpc/noop_streaming_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (sm *NoopGrpcStreamingManager) Subscribe(
req clobtypes.StreamOrderbookUpdatesRequest,
srv clobtypes.Query_StreamOrderbookUpdatesServer,
) (
finished chan<- bool,
finished chan bool,
err error,
) {
return nil, nil
Expand Down
2 changes: 1 addition & 1 deletion protocol/streaming/grpc/types/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type GrpcStreamingManager interface {
req clobtypes.StreamOrderbookUpdatesRequest,
srv clobtypes.Query_StreamOrderbookUpdatesServer,
) (
finished chan<- bool,
finished chan bool,
err error,
)
SendOrderbookUpdates(*clobtypes.OffchainUpdates)
Expand Down

0 comments on commit 0d40546

Please sign in to comment.