nip11: this relay pubkey doesn't have to be a pointer.
This commit is contained in:
@@ -11,7 +11,7 @@ type RelayInformationDocument struct {
|
|||||||
|
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
PubKey *nostr.PubKey `json:"pubkey,omitempty"`
|
PubKey nostr.PubKey `json:"pubkey,omitempty"`
|
||||||
Contact string `json:"contact,omitempty"`
|
Contact string `json:"contact,omitempty"`
|
||||||
SupportedNIPs []any `json:"supported_nips,omitempty"`
|
SupportedNIPs []any `json:"supported_nips,omitempty"`
|
||||||
Software string `json:"software,omitempty"`
|
Software string `json:"software,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user