mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-10 01:43:11 +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()
|
||||
|
||||
debug "Successfully started discovery v5 service"
|
||||
info "Discv5: discoverable ENR ", enr = node.wakuDiscV5.protocol.localNode.record.toURI()
|
||||
return true
|
||||
|
||||
return false
|
||||
@ -928,7 +929,7 @@ proc start*(node: WakuNode) {.async.} =
|
||||
|
||||
## XXX: this should be /ip4..., / stripped?
|
||||
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
|
||||
node.updateSwitchPeerInfo()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user