From 7ccd0e71920fd74537a3b8ab74b262ec3cadc21e Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 15 May 2024 16:59:38 -0300 Subject: [PATCH] nip46: client sends limit: 0 --- nip46/client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nip46/client.go b/nip46/client.go index 6e9e77f..d58b35e 100644 --- a/nip46/client.go +++ b/nip46/client.go @@ -112,9 +112,10 @@ func NewBunker( now := nostr.Now() events := pool.SubMany(ctx, relays, nostr.Filters{ { - Tags: nostr.TagMap{"p": []string{clientPublicKey}}, - Kinds: []int{nostr.KindNostrConnect}, - Since: &now, + Tags: nostr.TagMap{"p": []string{clientPublicKey}}, + Kinds: []int{nostr.KindNostrConnect}, + Since: &now, + LimitZero: true, }, }) for ie := range events {