From caeba39b21c2ef63815250bf29cb21c7706d8401 Mon Sep 17 00:00:00 2001 From: harsh-98 Date: Thu, 4 May 2023 10:57:35 +0530 Subject: [PATCH] fix: only last discoveryUrl set discoveredNodes --- waku/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/node.go b/waku/node.go index cc49a4ce..6861f184 100644 --- a/waku/node.go +++ b/waku/node.go @@ -207,7 +207,7 @@ func Execute(options Options) { discAddresses = append(discAddresses, n.Addresses...) } logger.Info("found dns entries ", logging.MultiAddrs("nodes", discAddresses...)) - discoveredNodes = nodes + discoveredNodes = append(discoveredNodes, nodes...) } } } else {