mirror of https://github.com/status-im/go-waku.git
chore: nim-waku interop test (#207)
This commit is contained in:
parent
61cda61c3d
commit
e7098efcff
|
@ -318,7 +318,8 @@ func evaluateNode(node *enode.Node) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
if !isWakuNode(node) || !hasTCPPort(node) {
|
||||
// TODO: consider node filtering based on ENR; we do not filter based on ENR in the first waku discv5 beta stage
|
||||
if /*!isWakuNode(node) ||*/ !hasTCPPort(node) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
@ -433,6 +433,10 @@ func (w *WakuNode) mountDiscV5() error {
|
|||
discv5.WithAutoUpdate(w.opts.discV5autoUpdate),
|
||||
}
|
||||
|
||||
if w.opts.advertiseAddr != nil {
|
||||
discV5Options = append(discV5Options, discv5.WithAdvertiseAddr(*w.opts.advertiseAddr))
|
||||
}
|
||||
|
||||
addr := w.ListenAddresses()[0]
|
||||
|
||||
ipStr, err := addr.ValueForProtocol(ma.P_IP4)
|
||||
|
|
Loading…
Reference in New Issue