mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-23 09:45:14 +02:00
minor.
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user