mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-18 03:22:22 +02:00
nip17: forgot to close this channel.
This commit is contained in:
@@ -72,6 +72,8 @@ func ListenForMessages(
|
|||||||
ch := make(chan nostr.Event)
|
ch := make(chan nostr.Event)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
defer close(ch)
|
||||||
|
|
||||||
for ie := range pool.SubMany(ctx, relays, nostr.Filters{
|
for ie := range pool.SubMany(ctx, relays, nostr.Filters{
|
||||||
{
|
{
|
||||||
Kinds: []int{1059},
|
Kinds: []int{1059},
|
||||||
|
Reference in New Issue
Block a user