From aa51c18118a197c67907704447136a268e30d0ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Fri, 23 Jun 2023 09:38:47 +0200 Subject: [PATCH] feat: field trustedPeersPath optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jose Ramon MaƱes --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 5c2aade..1156923 100644 --- a/config/config.go +++ b/config/config.go @@ -10,7 +10,7 @@ type MutualPeersConfig struct { type MutualPeer struct { // List of peers. Peers []Peer `yaml:"peers"` - TrustedPeersPath string `yaml:"trustedPeersPath"` // New field + TrustedPeersPath string `yaml:"trustedPeersPath,omitempty"` } // Peer represents a peer structure.