Skip to content

Commit

Permalink
use listener address from switch
Browse files Browse the repository at this point in the history
  • Loading branch information
munna0908 authored and marcinczenko committed Dec 19, 2024
1 parent 16c96bd commit 0eddb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codex/codex.nim
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ proc start*(s: CodexServer) {.async.} =

let (announceAddrs,discoveryAddrs)= natedAddress(
s.config.nat,
s.config.listenAddrs,
s.codexNode.switch.peerInfo.addrs,
s.config.discoveryPort)

s.codexNode.discovery.updateAnnounceRecord(announceAddrs)
Expand Down

0 comments on commit 0eddb6c

Please sign in to comment.