adapt to since and until not being pointers.

This commit is contained in:
fiatjaf
2025-05-08 09:59:03 -03:00
parent f799c65779
commit aadcc73906
8 changed files with 20 additions and 27 deletions

View File

@@ -140,11 +140,10 @@ var bunker = &cli.Command{
printBunkerInfo()
// subscribe to relays
now := nostr.Now()
events := sys.Pool.SubscribeMany(ctx, relayURLs, nostr.Filter{
Kinds: []nostr.Kind{nostr.KindNostrConnect},
Tags: nostr.TagMap{"p": []string{pubkey.Hex()}},
Since: &now,
Since: nostr.Now(),
LimitZero: true,
}, nostr.SubscriptionOptions{
Label: "nak-bunker",