Skip to content

Commit

Permalink
Requested changes
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
  • Loading branch information
ajnavarro committed Mar 7, 2024
1 parent 7b5fbe6 commit 6b2856a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion serve/graph/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func dereferenceTime(i *time.Time) time.Time {
return *i
}

func handleChannel[T any](ctx context.Context, m *events.Manager, writeToChannel func(*types.NewBlock, chan T)) chan T {
func handleChannel[T any](ctx context.Context, m *events.Manager, writeToChannel func(*types.NewBlock, chan<- T)) <-chan T {
ch := make(chan T)
go func() {
defer close(ch)
Expand Down
4 changes: 2 additions & 2 deletions serve/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6b2856a

Please sign in to comment.