get rid of PoolOptions, just set fields on Pool directly.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user