nip11: this relay pubkey doesn't have to be a pointer.

This commit is contained in:
fiatjaf
2025-08-25 18:48:30 -03:00
parent 72b5aa5051
commit db2c1c7653

View File

@@ -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"`