mirror of https://github.com/status-im/go-waku.git
fix: only last discoveryUrl set discoveredNodes
This commit is contained in:
parent
8711a08df6
commit
caeba39b21
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue