fix config

This commit is contained in:
Sergey Cherepanov 2023-04-12 14:22:20 +02:00
parent 031afe69bb
commit aab53579e0
No known key found for this signature in database
GPG Key ID: 87F8EDE8FBDF637C

View File

@ -24,9 +24,9 @@ const (
)
type Node struct {
PeerId string `yaml:"peerId"`
Addresses []string `yaml:"address"`
Types []NodeType `yaml:"types,omitempty"`
PeerId string `yaml:"peerId" bson:"peerId"`
Addresses []string `yaml:"addresses" bson:"addresses"`
Types []NodeType `yaml:"types,omitempty" bson:"types"`
}
func (n Node) Id() string {