it never ends.

This commit is contained in:
fiatjaf
2025-04-16 02:59:47 -03:00
parent cb0dd45a32
commit 5b8954461f
53 changed files with 396 additions and 673 deletions

View File

@@ -55,7 +55,7 @@ func (s Session) MakeResponse(
evt.Content = ciphertext
evt.CreatedAt = nostr.Now()
evt.Kind = nostr.KindNostrConnect
evt.Tags = nostr.Tags{nostr.Tag{"p", requester}}
evt.Tags = nostr.Tags{nostr.Tag{"p", requester.Hex()}}
return resp, evt, nil
}

View File

@@ -39,7 +39,7 @@ type BunkerClient struct {
// pool can be passed to reuse an existing pool, otherwise a new pool will be created.
func ConnectBunker(
ctx context.Context,
clientSecretKey nostr.PubKey,
clientSecretKey nostr.SecretKey,
bunkerURLOrNIP05 string,
pool *nostr.Pool,
onAuth func(string),