get rid of PoolOptions, just set fields on Pool directly.

This commit is contained in:
fiatjaf
2026-04-11 20:31:05 -03:00
parent 5944a3ead6
commit d92a0cde16
5 changed files with 48 additions and 58 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ func NewBunker(
onAuth func(string),
) *BunkerClient {
if pool == nil {
pool = nostr.NewPool(nostr.PoolOptions{})
pool = nostr.NewPool()
}
clientPublicKey := nostr.GetPublicKey(clientSecretKey)
+1 -1
View File
@@ -67,7 +67,7 @@ func NewBunkerFromNostrConnect(
pool *nostr.Pool,
) (*BunkerClient, error) {
if pool == nil {
pool = nostr.NewPool(nostr.PoolOptions{})
pool = nostr.NewPool()
}
if len(relayURLs) == 0 {