mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-05 20:49:11 +02:00
nip17: forgot to close this channel.
This commit is contained in:
parent
7514629906
commit
873453928e
@ -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},
|
||||
|
Loading…
x
Reference in New Issue
Block a user