This commit is contained in:
fiatjaf
2023-12-02 14:38:18 -03:00
parent 32c1969397
commit a65bd94a00
2 changed files with 2 additions and 2 deletions

View File

@@ -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}
}

View File

@@ -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) {