mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-07 00:13:13 +00:00
fix: always return peerID and addresses when marshalling DnsDiscoveryItem
This commit is contained in:
parent
abcadd1bcf
commit
f08d8f293b
@ -9,8 +9,8 @@ import (
|
||||
)
|
||||
|
||||
type DnsDiscoveryItem struct {
|
||||
PeerID string `json:"peerID,omitempty"`
|
||||
Addresses []string `json:"multiaddrs,omitempty"`
|
||||
PeerID string `json:"peerID"`
|
||||
Addresses []string `json:"multiaddrs"`
|
||||
ENR string `json:"enr,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user