From 27db9bf5a08a277e6a3836c22fc1306dba90f6c5 Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Tue, 4 Feb 2025 17:17:58 +0200 Subject: [PATCH] fix: turning off omitempty for Relay --- 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"`