make sub.Events a channel of pointers.

This commit is contained in:
fiatjaf
2023-01-26 09:04:27 -03:00
parent 0e2ee85785
commit 92c0143762
2 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ type Subscription struct {
Relay *Relay
Filters Filters
Events chan Event
Events chan *Event
EndOfStoredEvents chan struct{}
stopped bool