From a65bd94a00169473056404bfe002c159fdcb46a0 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 2 Dec 2023 14:38:18 -0300 Subject: [PATCH] minor. --- nip46/signer.go | 2 +- subscription_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nip46/signer.go b/nip46/signer.go index 2031940..06edd69 100644 --- a/nip46/signer.go +++ b/nip46/signer.go @@ -93,7 +93,7 @@ func NewSigner(secretKey string) Signer { return Signer{secretKey: secretKey} } -func (p *Signer) AddRelay(url string, read bool, write bool) { +func (p *Signer) AddRelayToAdvertise(url string, read bool, write bool) { p.RelaysToAdvertise[url] = relayReadWrite{read, write} } diff --git a/subscription_test.go b/subscription_test.go index 0114039..e127889 100644 --- a/subscription_test.go +++ b/subscription_test.go @@ -8,7 +8,7 @@ import ( "time" ) -const RELAY = "wss://relay.nostr.bg" +const RELAY = "wss://nos.lol" // test if we can fetch a couple of random events func TestSubscribe(t *testing.T) {