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