diff --git a/nip05/nip05.go b/nip05/nip05.go index 2764f04..e3e9fa0 100644 --- a/nip05/nip05.go +++ b/nip05/nip05.go @@ -13,8 +13,8 @@ import ( type WellKnownResponse struct { Names map[string]string `json:"names"` - Relays map[string][]string `json:"relays"` - NIP46 map[string][]string `json:"nip46"` + Relays map[string][]string `json:"relays,omitempty"` + NIP46 map[string][]string `json:"nip46,omitempty"` } func QueryIdentifier(ctx context.Context, fullname string) (*nostr.ProfilePointer, error) {