mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
nip46: client sends limit: 0
This commit is contained in:
@@ -112,9 +112,10 @@ func NewBunker(
|
|||||||
now := nostr.Now()
|
now := nostr.Now()
|
||||||
events := pool.SubMany(ctx, relays, nostr.Filters{
|
events := pool.SubMany(ctx, relays, nostr.Filters{
|
||||||
{
|
{
|
||||||
Tags: nostr.TagMap{"p": []string{clientPublicKey}},
|
Tags: nostr.TagMap{"p": []string{clientPublicKey}},
|
||||||
Kinds: []int{nostr.KindNostrConnect},
|
Kinds: []int{nostr.KindNostrConnect},
|
||||||
Since: &now,
|
Since: &now,
|
||||||
|
LimitZero: true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
for ie := range events {
|
for ie := range events {
|
||||||
|
Reference in New Issue
Block a user