fix config

This commit is contained in:
Sergey Cherepanov 2023-04-12 14:22:20 +02:00 committed by Mikhail Iudin
parent 93cd6897d3
commit b722e7301d
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

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