From 167e3e7add34dd2e50daffb80ae6521a33c2cbfd Mon Sep 17 00:00:00 2001 From: gabrielmer <101006718+gabrielmer@users.noreply.github.com> Date: Wed, 5 Feb 2025 18:17:14 +0200 Subject: [PATCH] fix: turning off omitempty for Relay (#27) --- waku/nwaku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/nwaku.go b/waku/nwaku.go index 713dca1..d59cad5 100644 --- a/waku/nwaku.go +++ b/waku/nwaku.go @@ -344,7 +344,7 @@ const ConnectionChangeChanBufferSize = 100 type WakuConfig struct { Host string `json:"host,omitempty"` Nodekey string `json:"nodekey,omitempty"` - Relay bool `json:"relay,omitempty"` + Relay bool `json:"relay"` Store bool `json:"store,omitempty"` LegacyStore bool `json:"legacyStore"` Storenode string `json:"storenode,omitempty"`