nip46: client sends limit: 0

This commit is contained in:
fiatjaf
2024-05-15 16:59:38 -03:00
parent a183ab0768
commit 7ccd0e7192

View File

@ -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 {