From aab53579e0f212c41f6f9ea41164d90c7eba11c1 Mon Sep 17 00:00:00 2001 From: Sergey Cherepanov Date: Wed, 12 Apr 2023 14:22:20 +0200 Subject: [PATCH] fix config --- nodeconf/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodeconf/config.go b/nodeconf/config.go index 1ef1f5ed..911ee745 100644 --- a/nodeconf/config.go +++ b/nodeconf/config.go @@ -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 {