nip17: forgot to close this channel.

This commit is contained in:
fiatjaf 2024-09-10 20:53:15 -03:00
parent 7514629906
commit 873453928e

View File

@ -72,6 +72,8 @@ func ListenForMessages(
ch := make(chan nostr.Event)
go func() {
defer close(ch)
for ie := range pool.SubMany(ctx, relays, nostr.Filters{
{
Kinds: []int{1059},