mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
minor.
This commit is contained in:
@@ -93,7 +93,7 @@ func NewSigner(secretKey string) Signer {
|
|||||||
return Signer{secretKey: secretKey}
|
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}
|
p.RelaysToAdvertise[url] = relayReadWrite{read, write}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const RELAY = "wss://relay.nostr.bg"
|
const RELAY = "wss://nos.lol"
|
||||||
|
|
||||||
// test if we can fetch a couple of random events
|
// test if we can fetch a couple of random events
|
||||||
func TestSubscribe(t *testing.T) {
|
func TestSubscribe(t *testing.T) {
|
||||||
|
Reference in New Issue
Block a user