mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-05-16 19:59:30 +00:00
fix(discv5): info print ENR containing discv5 udp port (#913)
This commit is contained in:
parent
878804e165
commit
be8860c2fc
@ -893,6 +893,7 @@ proc startDiscv5*(node: WakuNode): Future[bool] {.async.} =
|
|||||||
asyncSpawn node.runDiscv5Loop()
|
asyncSpawn node.runDiscv5Loop()
|
||||||
|
|
||||||
debug "Successfully started discovery v5 service"
|
debug "Successfully started discovery v5 service"
|
||||||
|
info "Discv5: discoverable ENR ", enr = node.wakuDiscV5.protocol.localNode.record.toURI()
|
||||||
return true
|
return true
|
||||||
|
|
||||||
return false
|
return false
|
||||||
@ -928,7 +929,7 @@ proc start*(node: WakuNode) {.async.} =
|
|||||||
|
|
||||||
## XXX: this should be /ip4..., / stripped?
|
## XXX: this should be /ip4..., / stripped?
|
||||||
info "Listening on", full = listenStr
|
info "Listening on", full = listenStr
|
||||||
info "Discoverable ENR ", enr = node.enr.toURI()
|
info "DNS: discoverable ENR ", enr = node.enr.toURI()
|
||||||
|
|
||||||
## Update switch peer info with announced addrs
|
## Update switch peer info with announced addrs
|
||||||
node.updateSwitchPeerInfo()
|
node.updateSwitchPeerInfo()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user