update to the fact that Pool doesn't use PoolOptions anymore, just modify the global pool directly.

This commit is contained in:
fiatjaf
2026-04-19 20:17:00 -03:00
parent 9ae5798a24
commit eae828e03b
9 changed files with 41 additions and 50 deletions

View File

@@ -186,7 +186,6 @@ func connectToAllRelays(
c *cli.Command,
relayUrls []string,
preAuthSigner func(ctx context.Context, c *cli.Command, log func(s string, args ...any), authEvent *nostr.Event) (err error), // if this exists we will force preauth
opts nostr.PoolOptions,
) []*nostr.Relay {
// first pass to check if these are valid relay URLs
for i, url := range relayUrls {