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